diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 22:55:54 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 22:55:54 +0100 |
| commit | f5c8925f14f57e4768ab105ec3089aa39e664d0a (patch) | |
| tree | ffaea30487a206a0615cd649e45e48722da09bc6 /lua/user/lsp/lsp-installer.lua | |
| parent | 4286c610562bb4dd9d288b47d60bdaf28a70438d (diff) | |
added more LSP server settings
Diffstat (limited to 'lua/user/lsp/lsp-installer.lua')
| -rw-r--r-- | lua/user/lsp/lsp-installer.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua index ac8f40c..2057007 100644 --- a/lua/user/lsp/lsp-installer.lua +++ b/lua/user/lsp/lsp-installer.lua @@ -51,6 +51,21 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", html_opts, opts) end + if server.name == "ltex" then + local ltex_opts = require("user.lsp.settings.ltex") + opts = vim.tbl_deep_extend("force", ltex_opts, opts) + end + + if server.name == "perlnavigator" then + local perlnavigator_opts = require("user.lsp.settings.perlnavigator") + opts = vim.tbl_deep_extend("force", perlnavigator_opts, opts) + end + + if server.name == "r_language_server" then + local r_language_serverer_opts = require("user.lsp.settings.r_language_server") + opts = vim.tbl_deep_extend("force", r_language_serverer_opts, opts) + end + -- This setup() function is exactly the same as lspconfig's setup function. -- Refer to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md server:setup(opts) |
