Skip to content

Commit

Permalink
feat: oxc-language-server #3586
Browse files Browse the repository at this point in the history
  • Loading branch information
marekvospel authored Jan 27, 2025
1 parent e5bf88e commit 8981192
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions lua/lspconfig/configs/oxlint.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'oxc_language_server' },
filetypes = {
'astro',
'javascript',
'javascriptreact',
'svelte',
'typescript',
'typescript.tsx',
'typescriptreact',
'vue',
},
root_dir = util.root_pattern('.oxlintrc.json'),
single_file_support = false,
},
docs = {
description = [[
https://oxc.rs
A collection of JavaScript tools written in Rust.
```sh
npm install [-g] oxlint
```
]],
},
}

0 comments on commit 8981192

Please sign in to comment.