[CHORE] moving things around
This commit is contained in:
@@ -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 = {
|
||||
|
||||
11
lua/plugins/langs/biome/nvim-lspconfig.lua
Normal file
11
lua/plugins/langs/biome/nvim-lspconfig.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
biome = {
|
||||
cmd = { "biome", "lsp-proxy" },
|
||||
filetypes = { "javascript", "css", "json" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
33
lua/plugins/langs/ruby/nvim-lspconfig.lua
Normal file
33
lua/plugins/langs/ruby/nvim-lspconfig.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
22
lua/plugins/langs/xml/nvim-lspconfig.lua
Normal file
22
lua/plugins/langs/xml/nvim-lspconfig.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
lemminx = {
|
||||
init_options = {
|
||||
settings = {
|
||||
xml = {
|
||||
format = {
|
||||
enabled = true,
|
||||
splitAttributes = false,
|
||||
},
|
||||
validation = {
|
||||
noGrammar = "ignore",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -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
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user