npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

lunte-lsp

1.8.2

@GitHub Actions

npmHomeRepoSnykSocket
Downloads:2
$ npm install lunte-lsp
DailyWeeklyMonthlyYearly

lunte-lsp

Language Server Protocol wrapper for Lunte.

Installation

npm install --save-dev lunte lunte-lsp

Usage

lunte-lsp

The server reuses Lunte's analyzer, reads .lunterc / .lunterc.json, and streams diagnostics over stdio.

Neovim

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({})

Repository

Monorepo: https://github.com/holepunchto/lunte

License

Apache-2.0