Language Server Protocol wrapper for Lunte.
npm install --save-dev lunte lunte-lsp
lunte-lsp
The server reuses Lunte's analyzer, reads .lunterc / .lunterc.json, and streams diagnostics over stdio.
local lspconfig = require('lspconfig')
local configs = require('lspconfig.configs')
configs.lunte = configs.lunte or {
default_config = {
cmd = { 'npx', 'lunte-lsp' },
filetypes = { 'javascript' },
root_dir = lspconfig.util.find_git_ancestor,
single_file_support = true,
},
}
lspconfig.lunte.setup({})
Monorepo: https://github.com/holepunchto/lunte
Apache-2.0