mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-16 15:51:14 +02:00
fix(lsp): correct variable name in lsp config loop
Signed-off-by: Umut Sahin Onder <umutsonder@gmail.com>
This commit is contained in:
parent
f70dcb3373
commit
4b81900939
1 changed files with 5 additions and 5 deletions
4
init.lua
4
init.lua
|
@ -719,8 +719,8 @@ require('lazy').setup({
|
|||
-- by the server configuration above. Useful when disabling
|
||||
-- certain features of an LSP (for example, turning off formatting for ts_ls)
|
||||
config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {})
|
||||
vim.lsp.config(name, config)
|
||||
vim.lsp.enable(name)
|
||||
vim.lsp.config(server, config)
|
||||
vim.lsp.enable(server)
|
||||
end
|
||||
else
|
||||
-- For Neovim 0.10 and below, use mason-lspconfig for setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue