diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-05-02 17:00:38 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-05-02 17:00:38 +0000 |
| commit | 46434074f188e6bfccf9d9153dd8be6b1381498b (patch) | |
| tree | 21704c7ac373c681900fcae5821b1f6bd5033d96 | |
| parent | feat(oxlint): oxlint lsp #3815 (diff) | |
| download | nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar.gz nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar.bz2 nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar.lz nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar.xz nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.tar.zst nvim-lspconfig-46434074f188e6bfccf9d9153dd8be6b1381498b.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 31 | ||||
| -rw-r--r-- | doc/configs.txt | 23 |
2 files changed, 54 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index d82e5b6f..ddd6052d 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -203,6 +203,7 @@ Nvim by running `:help lspconfig-all`. - [opencl_ls](#opencl_ls) - [openscad_ls](#openscad_ls) - [openscad_lsp](#openscad_lsp) +- [oxlint](#oxlint) - [pact_ls](#pact_ls) - [pasls](#pasls) - [pbls](#pbls) @@ -7684,6 +7685,36 @@ Default config: --- +## oxlint + +https://github.com/oxc-project/oxc + +`oxc` is a linter / formatter for JavaScript / Typescript supporting over 500 rules from ESLint and its popular plugins +It can be installed via `npm`: + +```sh +npm i -g oxlint +``` + +Snippet to enable the language server: +```lua +vim.lsp.enable('oxlint') +``` + +Default config: +- `cmd` : + ```lua + { "oxc_language_server" } + ``` +- `filetypes` : + ```lua + { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } + ``` +- `root_dir`: [../lsp/oxlint.lua:14](../lsp/oxlint.lua#L14) +- `workspace_required` : `true` + +--- + ## pact_ls https://github.com/kadena-io/pact-lsp diff --git a/doc/configs.txt b/doc/configs.txt index 631ec7d4..4cd66071 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -5596,6 +5596,29 @@ Default config: < ------------------------------------------------------------------------------ +oxlint + +https://github.com/oxc-project/oxc + +`oxc` is a linter / formatter for JavaScript / Typescript supporting over 500 rules from ESLint and its popular plugins +It can be installed via `npm`: +>sh + npm i -g oxlint + +Snippet to enable the language server: >lua + vim.lsp.enable('oxlint') + + +Default config: +- cmd: >lua + { "oxc_language_server" } +- filetypes: >lua + { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } +- root_dir (use "gF" to view): ../lsp/oxlint.lua:14 +- `workspace_required` : `true` +< + +------------------------------------------------------------------------------ pact_ls https://github.com/kadena-io/pact-lsp |
