mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 22:40:05 +08:00
23 lines
420 B
Lua
23 lines
420 B
Lua
|
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
|
||
|
```
|
||
|
]],
|
||
|
},
|
||
|
}
|