1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 22:40:05 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/futhark_lsp.lua

23 lines
420 B
Lua
Raw Normal View History

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'futhark', 'lsp' },
filetypes = { 'futhark', 'fut' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
https://github.com/diku-dk/futhark
Futhark Language Server
This language server comes with the futhark compiler and is run with the command
```
futhark lsp
```
]],
},
}