Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
17
.config/nvim/lsp/hoon_ls.lua
Normal file
17
.config/nvim/lsp/hoon_ls.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---@brief
|
||||
---
|
||||
--- 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`
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'hoon-language-server' },
|
||||
filetypes = { 'hoon' },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue