diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-06 20:08:18 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-06 20:08:18 +0100 |
| commit | 6f6e018915ffec09e034cca2d7ca05e3ccd567c1 (patch) | |
| tree | 4fbc12c9b0fb7055e220ac70065b06be085a7eea /lua/user/lsp | |
| parent | fcb8d1ea64a6b55c20b3b528e51cdd7160290b54 (diff) | |
Added a few keymaps (leader v to edit init.lua)
Reintroduced impatient plugin and added a few more lsp language settings
Diffstat (limited to 'lua/user/lsp')
| -rw-r--r-- | lua/user/lsp/lsp-installer.lua | 10 | ||||
| -rw-r--r-- | lua/user/lsp/settings/fortls.lua | 9 |
2 files changed, 14 insertions, 5 deletions
diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua index facc124..4fac4ff 100644 --- a/lua/user/lsp/lsp-installer.lua +++ b/lua/user/lsp/lsp-installer.lua @@ -46,6 +46,11 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", cmake_opts, opts) end + if server.name == "fortls" then + local fortls_opts = require("user.lsp.settings.fortls") + opts = vim.tbl_deep_extend("force", fortls_opts, opts) + end + if server.name == "html" then local html_opts = require("user.lsp.settings.html") opts = vim.tbl_deep_extend("force", html_opts, opts) @@ -61,11 +66,6 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", perlnavigator_opts, opts) end - if server.name == "perlls" then - local perlls_opts = require("user.lsp.settings.perlls") - opts = vim.tbl_deep_extend("force", perlls_opts, opts) - end - if server.name == "r_language_server" then local r_language_server_opts = require("user.lsp.settings.r_language_server") opts = vim.tbl_deep_extend("force", r_language_server_opts, opts) diff --git a/lua/user/lsp/settings/fortls.lua b/lua/user/lsp/settings/fortls.lua new file mode 100644 index 0000000..e6fbad6 --- /dev/null +++ b/lua/user/lsp/settings/fortls.lua @@ -0,0 +1,9 @@ +return { + settings = { + + fortran = { + + } + } +} + |
