diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 01:35:58 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 01:35:58 +0100 |
commit | 35d58063cc888a0332dbde5a61537ab33437063d (patch) | |
tree | b00637787beefa100c5b395ee35b8586426d1348 /fnl | |
parent | b32db71672f7ab6b17c986cf47e54d0a128bf5f0 (diff) |
Clean up lspconfig
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/plugins/lsp/lspconfig.fnl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl index 84c460f..7ad960c 100644 --- a/fnl/plugins/lsp/lspconfig.fnl +++ b/fnl/plugins/lsp/lspconfig.fnl @@ -19,7 +19,7 @@ (tset opts :capabilities (capabilities)) (config.setup opts)))) -(fn mason-opts [servers] +(fn mason-opts [] (let [servers (require :plugins.lsp.servers)] {:ensure_installed (vim.tbl_keys servers) :automatic_installation true @@ -32,8 +32,7 @@ mason-lspconfig (require :mason-lspconfig)] (diagnostics.setup) (set lspconfig-win.default_options.border :single) - (mason-lspconfig.setup (mason-opts)) - (mason-lspconfig.setup_handlers [setup-handler]))) + (mason-lspconfig.setup (mason-opts)))) {1 :neovim/nvim-lspconfig :event :BufReadPost |