feat(lsp): change from eslint/prettier to oxlint/oxfmt

This commit is contained in:
2026-03-06 05:47:45 +01:00
parent 4d22ec6939
commit f6a21cb88b
6 changed files with 21 additions and 44 deletions
-19
View File
@@ -1,19 +0,0 @@
local lsp = require("lsp")
---@type vim.lsp.Config
return {
on_attach = function(client, bufnr)
lsp.on_attach(client, bufnr)
vim.keymap.set("n", "<leader>lf", function()
vim.lsp.buf.format()
require("util").format({
buf = bufnr,
cmd = {
"prettier",
"--stdin-filepath",
"%file%",
},
})
end, { buffer = bufnr })
end,
}
+3
View File
@@ -0,0 +1,3 @@
---@type vim.lsp.Config
return {
}
+3
View File
@@ -0,0 +1,3 @@
---@type vim.lsp.Config
return {
}