Compare commits

..

2 Commits

Author SHA1 Message Date
Umut Sahin Onder
5502cea3f6 style: format with stylua 2025-04-17 17:22:08 +02:00
Umut Sahin Onder
4b81900939 fix(lsp): correct variable name in lsp config loop
Signed-off-by: Umut Sahin Onder <umutsonder@gmail.com>
2025-04-17 17:17:26 +02:00

View File

@ -719,8 +719,8 @@ require('lazy').setup({
-- by the server configuration above. Useful when disabling -- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for ts_ls) -- certain features of an LSP (for example, turning off formatting for ts_ls)
config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {}) config.capabilities = vim.tbl_deep_extend('force', {}, capabilities, config.capabilities or {})
vim.lsp.config(name, config) vim.lsp.config(server, config)
vim.lsp.enable(name) vim.lsp.enable(server)
end end
else else
-- For Neovim 0.10 and below, use mason-lspconfig for setup -- For Neovim 0.10 and below, use mason-lspconfig for setup