aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/fortls/init.lua
blob: 3e37a07f76a68967cf5b9d4a81e258910816e097 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
local server = require "nvim-lsp-installer.server"
local pip3 = require "nvim-lsp-installer.installers.pip3"

local root_dir = server.get_server_root_path "fortls"

return server.Server:new {
    name = "fortls",
    root_dir = root_dir,
    installer = pip3.packages { "fortran-language-server" },
    default_options = {
        cmd = { pip3.executable(root_dir, "fortls") },
    },
}