mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2026-05-12 03:56:09 +02:00
feat: add initial marko-js lsp config (#3228)
This commit is contained in:
parent
fb453a1a44
commit
689019219b
21
lua/lspconfig/configs/marko-js.lua
Normal file
21
lua/lspconfig/configs/marko-js.lua
Normal file
@ -0,0 +1,21 @@
|
||||
local util = require 'lspconfig.util'
|
||||
|
||||
return {
|
||||
default_config = {
|
||||
cmd = { 'marko-language-server', '--stdio' },
|
||||
filetypes = { 'marko' },
|
||||
root_dir = util.find_git_ancestor,
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
https://github.com/marko-js/language-server
|
||||
|
||||
Using the Language Server Protocol to improve Marko's developer experience.
|
||||
|
||||
Can be installed via npm:
|
||||
```
|
||||
npm i -g @marko/language-server
|
||||
```
|
||||
]],
|
||||
},
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user