diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 52e8e36c422ea22b129459a0b4c18d5deb9bc394 (patch) | |
| tree | 068ec460f3c7e6b53bb88ade4e53ca04d51a482c /.config/nvim/lua/plugin/lsp.lua | |
| parent | 0f8bb001aef63ecf1a0b942d52fac047de56772d (diff) | |
Neovim update
Diffstat (limited to '.config/nvim/lua/plugin/lsp.lua')
| -rw-r--r-- | .config/nvim/lua/plugin/lsp.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugin/lsp.lua b/.config/nvim/lua/plugin/lsp.lua index 2e80d3f..8e9d66f 100644 --- a/.config/nvim/lua/plugin/lsp.lua +++ b/.config/nvim/lua/plugin/lsp.lua @@ -7,7 +7,6 @@ lspconfig.lua_ls.setup {} lspconfig.clangd.setup {} lspconfig.gdscript.setup {} - require('mason').setup {} require('mason-lspconfig').setup { ensure_installed = { @@ -31,7 +30,7 @@ cmp.setup { }) } -lsp.on_attach(function(_, buffer) +lsp.on_attach(function(client, buffer) local opts = { buffer=buffer, remap=false } vim.keymap.set("n", "<leader>ld", function() vim.lsp.buf.definition() end, opts) |
