aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/configs/marko-js.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/marko-js.lua b/lua/lspconfig/configs/marko-js.lua
new file mode 100644
index 00000000..5693078b
--- /dev/null
+++ b/lua/lspconfig/configs/marko-js.lua
@@ -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
+ ```
+ ]],
+ },
+}