From 637293ce23c6a965d2f11dfbf92f604bb1978052 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Jan 2025 11:50:59 +0000 Subject: docs: update configs.md skip-checks: true --- doc/configs.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'doc/configs.md') diff --git a/doc/configs.md b/doc/configs.md index 1af69bf7..df1129bc 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -209,6 +209,7 @@ Nvim by running `:help lspconfig-all`. - [openedge_ls](#openedge_ls) - [openscad_ls](#openscad_ls) - [openscad_lsp](#openscad_lsp) +- [oxlint](#oxlint) - [pact_ls](#pact_ls) - [pasls](#pasls) - [pbls](#pbls) @@ -7402,6 +7403,34 @@ Default config: - `single_file_support` : `true` +## oxlint + +https://oxc.rs + +A collection of JavaScript tools written in Rust. + +```sh +npm install [-g] oxlint +``` + +Snippet to enable the language server: +```lua +require'lspconfig'.oxlint.setup{} +``` + +Default config: +- `cmd` : + ```lua + { "oxc_language_server" } + ``` +- `filetypes` : + ```lua + { "astro", "javascript", "javascriptreact", "svelte", "typescript", "typescript.tsx", "typescriptreact", "vue" } + ``` +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/oxlint.lua:4](../lua/lspconfig/configs/oxlint.lua#L4) +- `single_file_support` : `false` + + ## pact_ls https://github.com/kadena-io/pact-lsp -- cgit v1.2.3-70-g09d2