feat: new config with everything manually installed

This commit is contained in:
2025-05-30 08:19:56 +02:00
commit d3de5b76fb
47 changed files with 2180 additions and 0 deletions

5
lsp/astro.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'astro-ls', '--stdio' },
filetypes = { 'astro' },
root_markers = { '.git', 'astro.config.mjs', 'astro.config.js', 'astro.config.ts' },
}

5
lsp/bashls.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'bash-language-server', 'start' },
filetypes = { 'sh', 'bash' },
root_markers = { '.bashrc', '.bash_profile', '.profile' },
}

5
lsp/clangd.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'clangd' },
filetypes = { 'c', 'cpp', 'objc', 'objcpp' },
root_markers = { 'compile_commands.json', '.git', 'compile_flags.txt' },
}

5
lsp/cssls.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'vscode-css-language-server', '--stdio' },
filetypes = { 'css', 'scss', 'sass' },
root_markers = { '.git' },
}

5
lsp/emmet.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'emmet-ls', '--stdio' },
filetypes = { 'html', 'css', 'scss', 'less' },
root_markers = { '.git' },
}

5
lsp/gopls.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'gopls' },
filetypes = { 'go', 'gomod', 'gowork', 'gotmpl' },
root_markers = { 'go.mod', '.git' },
}

5
lsp/html.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'vscode-html-language-server', '--stdio' },
filetypes = { 'html', 'htm', 'xhtml' },
root_markers = { '.git', 'index.html' },
}

5
lsp/jdtls.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'jdtls' },
filetypes = { 'java' },
root_markers = { 'pom.xml', 'build.gradle', '.git', 'mvnw', 'gradlew' },
}

4
lsp/jsonls.lua Normal file
View File

@@ -0,0 +1,4 @@
return {
cmd = { 'vscode-json-language-server', '--stdio' },
filetypes = { 'json', 'jsonc' },
}

5
lsp/luals.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'lua-language-server' },
filetypes = { 'lua' },
root_markers = { '.luarc.json', '.luarc.jsonc', 'init.lua' },
}

5
lsp/pyright.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'pyright-langserver', '--stdio' },
filetypes = { 'python' },
root_markers = { 'setup.py', 'setup.cfg', 'requirements.txt', '.git' },
}

5
lsp/rust_analyzer.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'rust-analyzer' },
filetypes = { 'rust' },
root_markers = { 'Cargo.toml', 'rust-project.json', '.git' },
}

5
lsp/solargraph.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'solargraph', 'stdio' },
filetypes = { 'ruby' },
root_markers = { 'Gemfile', '.git' },
}

5
lsp/tsserver.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'typescript-language-server', '--stdio' },
filetypes = { 'typescript', 'typescriptreact', 'typescript.tsx', 'javascript', 'javascriptreact', 'javascript.jsx', 'js', 'jsx', 'ts','tsx' },
root_markers = { 'package.json', 'tsconfig.json', 'jsconfig.json', '.git' },
}

5
lsp/volar.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
cmd = { 'vue-language-server', '--stdio' },
filetypes = { 'vue' },
root_markers = { 'package.json', 'vue.config.js', 'vue.config.ts', '.git' },
}