nvim-lspconfig/lsp/nxls.lua

18 lines
346 B
Lua

---@brief
---
--- https://github.com/nrwl/nx-console/tree/master/apps/nxls
---
--- nxls, a language server for Nx Workspaces
---
--- `nxls` can be installed via `npm`:
--- ```sh
--- npm i -g nxls
--- ```
---@type vim.lsp.Config
return {
cmd = { 'nxls', '--stdio' },
filetypes = { 'json', 'jsonc' },
root_markers = { 'nx.json', '.git' },
}