From 689019219ba2ffc4bf9d799b3392f81552c033f2 Mon Sep 17 00:00:00 2001 From: Russ <13390184+russell-knight@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:36:24 +1000 Subject: feat: add initial marko-js lsp config (#3228) --- lua/lspconfig/configs/marko-js.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/lspconfig/configs/marko-js.lua (limited to 'lua') 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 + ``` + ]], + }, +} -- cgit v1.2.3-70-g09d2