diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-28 02:16:59 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-28 02:16:59 +0100 |
commit | a60df102e10dfb4d6407e457398aa010750591f9 (patch) | |
tree | 90b5b62c5c2382a3019df1fa1c5417c640f3c722 /.config/nvim/init.lua | |
parent | 447a62f05946eaa041a236d16dafbafb7cab4327 (diff) |
nvim: Remove unused function
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r-- | .config/nvim/init.lua | 4 |
1 files changed, 0 insertions, 4 deletions
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, |