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

return function(name, root_dir)
    return server.Server:new {
        name = name,
        root_dir = root_dir,
        languages = { "f#" },
        homepage = "https://github.com/fsharp/FsAutoComplete",
        installer = dotnet.package "fsautocomplete",
        default_options = {
            cmd_env = dotnet.env(root_dir),
        },
    }
end