Migrate to native lsp config and other misc stuff

This commit is contained in:
Fábio André Damas 2025-09-19 22:04:09 +01:00
parent 50031cba0e
commit 2b05047eb9
21 changed files with 82 additions and 40 deletions

View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1 @@
return {}

1
lua/lsp_extend/gopls.lua Normal file
View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1,8 @@
return {
settings = {
json = {
schemas = require('schemastore').json.schemas(),
validate = { enable = true },
},
},
}

View file

@ -0,0 +1 @@
return {}

15
lua/lsp_extend/lua_ls.lua Normal file
View file

@ -0,0 +1,15 @@
return {
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
diagnostics = {
globals = { 'vim' },
},
telemetry = {
enable = false,
},
},
},
}

View file

@ -0,0 +1 @@
return {}

1
lua/lsp_extend/ruff.lua Normal file
View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1 @@
return {}

View file

@ -0,0 +1,23 @@
return {
settings = {
tailwindCSS = {
classAttributes = { "class", "className", "classList", "class:list", "ngClass", "pathClassName" },
experimental = {
classRegex = {
{
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
"'([^']*)'",
},
{
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
'"([^"]*)"',
},
{
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
"`([^`]*)`",
},
},
},
},
},
}

1
lua/lsp_extend/taplo.lua Normal file
View file

@ -0,0 +1 @@
return {}

1
lua/lsp_extend/vtsls.lua Normal file
View file

@ -0,0 +1 @@
return {}

19
lua/lsp_extend/yamlls.lua Normal file
View file

@ -0,0 +1,19 @@
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(),
},
redhat = {
telemetry = {
enabled = false
}
}
},
}