blob: 630034ed2751ff67a76f8da5d3800c6cddf52a15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
local skeleton = require 'nvim_lsp/skeleton'
local util = require 'nvim_lsp/util'
local lsp = vim.lsp
skeleton.fortls = {
default_config = {
cmd = {"fortls"};
filetypes = {"fortran"};
root_dir = util.root_pattern(".fortls");
log_level = lsp.protocol.MessageType.Warning;
settings = {
nthreads = 1,
};
};
-- on_new_config = function(new_config) end;
-- on_attach = function(client, bufnr) end;
docs = {
description = [[
https://github.com/hansec/fortran-language-server
Fortran Language Server for the Language Server Protocol
]];
default_config = {
root_dir = [[root_pattern(".fortls")]];
};
};
};
-- vim:et ts=2 sw=2
|