Migrate to native lsp config and other misc stuff
This commit is contained in:
parent
50031cba0e
commit
2b05047eb9
21 changed files with 82 additions and 40 deletions
1
lua/lsp_extend/emmet_language_server.lua
Normal file
1
lua/lsp_extend/emmet_language_server.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/eslint.lua
Normal file
1
lua/lsp_extend/eslint.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/golangci_lint_ls.lua
Normal file
1
lua/lsp_extend/golangci_lint_ls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/gopls.lua
Normal file
1
lua/lsp_extend/gopls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/harper_ls.lua
Normal file
1
lua/lsp_extend/harper_ls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
8
lua/lsp_extend/jsonls.lua
Normal file
8
lua/lsp_extend/jsonls.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
settings = {
|
||||
json = {
|
||||
schemas = require('schemastore').json.schemas(),
|
||||
validate = { enable = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
1
lua/lsp_extend/lemminx.lua
Normal file
1
lua/lsp_extend/lemminx.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
15
lua/lsp_extend/lua_ls.lua
Normal file
15
lua/lsp_extend/lua_ls.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = 'LuaJIT',
|
||||
},
|
||||
diagnostics = {
|
||||
globals = { 'vim' },
|
||||
},
|
||||
telemetry = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
1
lua/lsp_extend/pyright.lua
Normal file
1
lua/lsp_extend/pyright.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/ruff.lua
Normal file
1
lua/lsp_extend/ruff.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/rust_analyzer.lua
Normal file
1
lua/lsp_extend/rust_analyzer.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
23
lua/lsp_extend/tailwindcss.lua
Normal file
23
lua/lsp_extend/tailwindcss.lua
Normal 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
1
lua/lsp_extend/taplo.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp_extend/vtsls.lua
Normal file
1
lua/lsp_extend/vtsls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
19
lua/lsp_extend/yamlls.lua
Normal file
19
lua/lsp_extend/yamlls.lua
Normal 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
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue