mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 05:58:00 +08:00
22 lines
568 B
Lua
22 lines
568 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'roc_language_server' },
|
||
|
filetypes = { 'roc' },
|
||
|
root_dir = util.find_git_ancestor,
|
||
|
single_file_support = true,
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/roc-lang/roc/tree/main/crates/language_server#roc_language_server
|
||
|
|
||
|
The built-in language server for the Roc programming language.
|
||
|
[Installation](https://github.com/roc-lang/roc/tree/main/crates/language_server#installing)
|
||
|
]],
|
||
|
default_config = {
|
||
|
root_dir = [[util.find_git_ancestor]],
|
||
|
},
|
||
|
},
|
||
|
}
|