mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
refactor(lsp-config.lua): remove pyflakes from pylsp setup to improve performance and simplify configuration
feat(lsp-config.lua): add configuration for biome server to support additional filetypes and improve language server capabilities
This commit is contained in:
@@ -123,7 +123,6 @@ lspconfig["pylsp"].setup({
|
||||
jedi_completion = {
|
||||
include_params = true,
|
||||
},
|
||||
pyflakes = { enabled = true },
|
||||
pycodestyle = {
|
||||
ignore = { "E231" },
|
||||
maxLineLength = 150,
|
||||
@@ -218,3 +217,21 @@ lspconfig["eslint"].setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
-- configure biome server
|
||||
lspconfig["biome"].setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
filetypes = {
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"json",
|
||||
"jsonc",
|
||||
"typescript",
|
||||
"typescript.tsx",
|
||||
"typescriptreact",
|
||||
"astro",
|
||||
"svelte",
|
||||
"vue",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user