20 lines
388 B
Lua
20 lines
388 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'antlersls', '--stdio' },
|
||
|
filetypes = { 'html', 'antlers' },
|
||
|
root_dir = util.root_pattern 'composer.json',
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://www.npmjs.com/package/antlers-language-server
|
||
|
|
||
|
`antlersls` can be installed via `npm`:
|
||
|
```sh
|
||
|
npm install -g antlers-language-server
|
||
|
```
|
||
|
]],
|
||
|
},
|
||
|
}
|