diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-04-29 01:28:27 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-04-29 01:28:27 +0200 |
| commit | 88af70e85835af1a39a579ffe1735caafc4113a0 (patch) | |
| tree | a2bafcbe2eb456d24b6bb5becb4017e7dd33b972 /lua/user/lsp/mason.lua | |
| parent | e37e216a65a8b0df58dce366f50a4d8b896cde0b (diff) | |
fixes after updating plugins
Diffstat (limited to 'lua/user/lsp/mason.lua')
| -rw-r--r-- | lua/user/lsp/mason.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/user/lsp/mason.lua b/lua/user/lsp/mason.lua index 8425934..83c940b 100644 --- a/lua/user/lsp/mason.lua +++ b/lua/user/lsp/mason.lua @@ -56,7 +56,7 @@ mason_lspconfig.setup({ automatic_installation = true, }) -table.insert(servers, "ccls") +--table.insert(servers, "ccls") mason_lspconfig.setup_handlers { function(server_name) lspconfig[server_name].setup { @@ -70,12 +70,12 @@ mason_lspconfig.setup_handlers { mason_null_ls.setup({ automatic_setup = true, ensure_installed = {}, + handlers = { + function(source_name, methods) + require("mason-null-ls.automatic_setup")(source_name, methods) + end, + }, }) -mason_null_ls.setup_handlers { - function(source_name, methods) - require("mason-null-ls.automatic_setup")(source_name, methods) - end, -} -- null_ls null_ls.setup() |
