mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
chore: remove lsp.folders module
This commit is contained in:
parent
06489e1075
commit
2ffef85e64
17 changed files with 64 additions and 301 deletions
|
@ -130,7 +130,7 @@ function M.config()
|
|||
}
|
||||
|
||||
-- Load server-specific configuration if it exists
|
||||
local ok, server_opts = pcall(require, "plugins.lsp.servers." .. server_name)
|
||||
local ok, server_opts = pcall(require, "config.lsp." .. server_name)
|
||||
if ok then
|
||||
base_opts = vim.tbl_deep_extend("force", base_opts, server_opts)
|
||||
end
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
return {
|
||||
settings = {
|
||||
gopls = {
|
||||
gofumpt = true, -- https://github.com/mvdan/gofumpt a stricter gofmt
|
||||
completeUnimported = true,
|
||||
usePlaceholders = true,
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
flags = {
|
||||
debounce_text_changes = 150, -- https://github.com/golang/tools/blob/master/gopls/doc/settings.md#change-detection
|
||||
},
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
return {
|
||||
filetypes = { "html", "templ" },
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
return {
|
||||
filetypes = { "html", "templ" },
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
return {
|
||||
settings = {
|
||||
json = {
|
||||
schemas = require("schemastore").json.schemas(),
|
||||
},
|
||||
},
|
||||
setup = {
|
||||
commands = {
|
||||
Format = {
|
||||
function()
|
||||
vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line("$"), 0 })
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
return {
|
||||
settings = {
|
||||
Lua = {
|
||||
format = {
|
||||
enable = false,
|
||||
},
|
||||
hint = {
|
||||
enable = false,
|
||||
arrayIndex = "Disable", -- "Enable" | "Auto" | "Disable"
|
||||
await = true,
|
||||
paramName = "Disable", -- "All" | "Literal" | "Disable"
|
||||
paramType = true,
|
||||
semicolon = "All", -- "All" | "SameLine" | "Disable"
|
||||
setType = false,
|
||||
},
|
||||
telemetry = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
return {
|
||||
settings = {
|
||||
enable_roslyn_analyzers = true,
|
||||
organize_imports_on_format = true,
|
||||
enable_import_completion = true,
|
||||
},
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
return {
|
||||
settings = {
|
||||
yaml = {
|
||||
schemaStore = {
|
||||
-- You must disable built-in schemaStore support if you want to use
|
||||
-- this plugin and its advanced options like `ignore`.
|
||||
enable = false,
|
||||
-- Avoid TypeError: Cannot read properties of undefined (reading 'length')
|
||||
url = "",
|
||||
},
|
||||
schemas = require("schemastore").yaml.schemas({
|
||||
-- additional schemas (not in the catalog)
|
||||
extra = {
|
||||
url = "https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/argoproj.io/application_v1alpha1.json",
|
||||
name = "Argo CD Application",
|
||||
fileMatch = "argocd-application.yaml",
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue