summaryrefslogtreecommitdiff
path: root/nvim/lsp/nxls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/nxls.lua')
-rwxr-xr-xnvim/lsp/nxls.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim/lsp/nxls.lua b/nvim/lsp/nxls.lua
new file mode 100755
index 0000000..0c36cba
--- /dev/null
+++ b/nvim/lsp/nxls.lua
@@ -0,0 +1,15 @@
+---@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
+--- ```
+return {
+ cmd = { 'nxls', '--stdio' },
+ filetypes = { 'json', 'jsonc' },
+ root_markers = { 'nx.json', '.git' },
+}