From a60df102e10dfb4d6407e457398aa010750591f9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 28 Oct 2024 02:16:59 +0100 Subject: nvim: Remove unused function --- .config/nvim/init.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to '.config/nvim/init.lua') diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 9971c8f..220c341 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -446,10 +446,6 @@ lsp.lua_ls.setup { vim.api.nvim_create_autocmd('LspAttach', { group = vim.api.nvim_create_augroup('mango-lsp-config', { clear = true }), callback = function(ev) - local function remap(mode, map, fn) - vim.keymap.set(mode, map, fn, { buffer = ev.buf }) - end - vim.diagnostic.disable() vim.bo[ev.buf].omnifunc = 'v:lua.vim.lsp.omnifunc' vim.keymap.set('n', 'gK', vim.lsp.buf.hover, -- cgit v1.2.3