mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 09:30:04 +08:00
23 lines
533 B
Lua
Vendored
23 lines
533 B
Lua
Vendored
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'hoon-language-server' },
|
|
filetypes = { 'hoon' },
|
|
root_dir = util.find_git_ancestor,
|
|
single_file_support = true,
|
|
},
|
|
docs = {
|
|
description = [[
|
|
https://github.com/urbit/hoon-language-server
|
|
|
|
A language server for Hoon.
|
|
|
|
The language server can be installed via `npm install -g @hoon-language-server`
|
|
|
|
Start a fake ~zod with `urbit -F zod`.
|
|
Start the language server at the Urbit Dojo prompt with: `|start %language-server`
|
|
]],
|
|
},
|
|
}
|