nvim/pack/acp/start/nvim-lspconfig/lua/lspconfig/server_configurations/antlersls.lua

19 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
```
]],
},
}