summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorPhúc Lê Khắc <[email protected]>2021-08-18 15:44:10 +0100
committerGitHub <[email protected]>2021-08-18 16:44:10 +0200
commita190306e477a95b7dd91e375c0cf82e0b72b1cd3 (patch)
tree17431ec961bacc1e0a0009ffac6b7c2e4473b4eb /lua
parentb9b9c69615b469146e3cc75adcf9bd61047404eb (diff)
[Feature]: LSP Fortran (#1342)
* null-ls needs to be pinned as well * unpin null-ls * lsp: fortran Co-authored-by: Abouzar Parvan <[email protected]> Co-authored-by: christianchiarulli <[email protected]>
Diffstat (limited to 'lua')
-rw-r--r--lua/default-config.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua
index f381b0b6..0f9e6daa 100644
--- a/lua/default-config.lua
+++ b/lua/default-config.lua
@@ -486,6 +486,21 @@ lvim.lang = {
},
},
},
+ fortran = {
+ formatters = {},
+ linters = {},
+ lsp = {
+ provider = "fortls",
+ setup = {
+ cmd = {
+ DATA_PATH .. "/lspinstall/fortran/venv/bin/fortls",
+ },
+ on_attach = common_on_attach,
+ on_init = common_on_init,
+ capabilities = common_capabilities,
+ },
+ },
+ },
go = {
formatters = {
-- {