1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
local util = require 'lspconfig.util' return { default_config = { cmd = { 'lelwel-ls' }, filetypes = { 'llw' }, root_dir = util.find_git_ancestor, }, docs = { description = [[ https://github.com/0x2a-42/lelwel Language server for lelwel grammars. You can install `lelwel-ls` via cargo: ```sh cargo install --features="lsp" lelwel ``` ]], }, }