summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua
new file mode 100644
index 0000000..ea4cf87
--- /dev/null
+++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/antlersls.lua
@@ -0,0 +1,19 @@
+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
+```
+]],
+ },
+}