summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-28 02:16:59 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-10-28 02:16:59 +0100
commita60df102e10dfb4d6407e457398aa010750591f9 (patch)
tree90b5b62c5c2382a3019df1fa1c5417c640f3c722 /.config/nvim
parent447a62f05946eaa041a236d16dafbafb7cab4327 (diff)
nvim: Remove unused function
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.lua4
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,