[CHORE] moving things around

This commit is contained in:
Daveanand Mannie
2025-10-22 03:59:38 -04:00
parent fe02946bb2
commit 800e892b6e
10 changed files with 186 additions and 33 deletions

View File

@@ -1,11 +1,16 @@
return {
"stevearc/conform.nvim",
opts = {
lsp_formatting = false,
fallback = false,
formatters_by_ft = {
python = { "black" },
javascript = { "biome" },
go = { "goimports", "gofumpt" },
xml = { "lemminx" },
ruby = { "rubocop" },
json = { "biome" },
css = { "biome" },
javascript = { "biome" },
},
},
dependencies = {

View File

@@ -0,0 +1,11 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
biome = {
cmd = { "biome", "lsp-proxy" },
filetypes = { "javascript", "css", "json" },
},
},
},
}

View File

@@ -0,0 +1,33 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
ruby_lsp = {
mason = false,
cmd = { os.getenv("HOME") .. "/.rbenv/shims/ruby-lsp" },
init_options = {
enabled_features = {
codeActions = true,
codeLens = true,
completion = true,
definition = true,
diagnostics = true,
documentHighlights = true,
documentLink = true,
documentSymbols = true,
foldingRanges = true,
formatting = true,
hover = true,
inlayHint = true,
onTypeFormatting = true,
selectionRanges = true,
semanticHighlighting = true,
signatureHelp = true,
typeHierarchy = true,
workspaceSymbol = true,
},
},
},
},
},
}

View File

@@ -0,0 +1,22 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
lemminx = {
init_options = {
settings = {
xml = {
format = {
enabled = true,
splitAttributes = false,
},
validation = {
noGrammar = "ignore",
},
},
},
},
},
},
},
}

View File

@@ -1,22 +0,0 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
lemminx = {
init_options = {
settings = {
xml = {
format = {
enabled = true,
splitAttributes = false,
},
validation = {
noGrammar = "ignore", -- This is correct
},
}
}
}
}
}
}
}

View File

@@ -5,10 +5,13 @@ return {
-- python
"basedpyright",
"ruff",
-- js, json, xml, all front end stuff
"black",
-- "biome",
-- js, json, xml, all front end stuff
"vtsls",
"biome",
"lemminx",
"html-lsp",
-- "css-lsp",
-- lua
"stylua",
"lua-language-server",