diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-08-11 15:34:07 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-08-11 15:34:07 +0100 |
| commit | f3403c95fca6779a766763b040b7ae9650f39c33 (patch) | |
| tree | e12957d1209c23182c9a1b33e64b2a041f578924 /lua/user/lsp/lsp-installer.lua | |
| parent | adb901bb02e1b205731156976b4ea6d765b24432 (diff) | |
Mainly LSP changes, especially concerning latex. Changed from ltex to texlab
Diffstat (limited to 'lua/user/lsp/lsp-installer.lua')
| -rw-r--r-- | lua/user/lsp/lsp-installer.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua index 4fac4ff..12fa050 100644 --- a/lua/user/lsp/lsp-installer.lua +++ b/lua/user/lsp/lsp-installer.lua @@ -56,11 +56,6 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", html_opts, opts) end - if server.name == "ltex-ls" 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) @@ -71,6 +66,11 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", r_language_server_opts, opts) end + if server.name == "latex" then + local latex_opts = require("user.lsp.settings.texlab") + opts = vim.tbl_deep_extend("force", latex_opts, opts) + end + if server.name == "tsserver" then local typescript_language_server_opts = require("user.lsp.settings.tsserver") opts = vim.tbl_deep_extend("force", typescript_language_server_opts, opts) |
