summaryrefslogtreecommitdiff
path: root/lua/user/lsp
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-06-04 20:47:17 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-06-04 20:47:17 +0100
commitb9015658d092fb7e6c7319802c9bf6a66ba1d297 (patch)
tree8a238164fa9a496e234c678ff78e9fcb35903a98 /lua/user/lsp
parentf5c8925f14f57e4768ab105ec3089aa39e664d0a (diff)
Created after/ftplugin directory and lua.lua file to allow lua directory
to be recognised by the gf command.
Diffstat (limited to 'lua/user/lsp')
-rw-r--r--lua/user/lsp/lsp-installer.lua2
-rw-r--r--lua/user/lsp/settings/r_language_server.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua
index 2057007..f86b7b7 100644
--- a/lua/user/lsp/lsp-installer.lua
+++ b/lua/user/lsp/lsp-installer.lua
@@ -51,7 +51,7 @@ lsp_installer.on_server_ready(function(server)
opts = vim.tbl_deep_extend("force", html_opts, opts)
end
- if server.name == "ltex" then
+ if server.name == "ltex-ls" then
local ltex_opts = require("user.lsp.settings.ltex")
opts = vim.tbl_deep_extend("force", ltex_opts, opts)
end
diff --git a/lua/user/lsp/settings/r_language_server.lua b/lua/user/lsp/settings/r_language_server.lua
index fbe8846..d7e242d 100644
--- a/lua/user/lsp/settings/r_language_server.lua
+++ b/lua/user/lsp/settings/r_language_server.lua
@@ -2,7 +2,7 @@ return {
settings = {
R = {
- filetypes = { 'r' },
+ filetypes = { 'r','rmd' },
single_file_support = true,
}
}