refactor: plugin cleanup to define the basic nvim shell

This commit is contained in:
2026-04-01 11:12:48 +02:00
parent d9c766005c
commit bd3f46d14a
45 changed files with 117 additions and 2053 deletions

View File

@@ -1,8 +0,0 @@
return {
cmd = { 'astro-ls', '--stdio' },
filetypes = { 'astro' },
root_markers = { 'astro.config.mjs', 'astro.config.js', 'astro.config.ts' },
init_options = {
typescript = { tsdk = "./node_modules/typescript/lib" }
}
}

View File

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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
return {
cmd = { 'deno', 'lsp' },
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" },
root_markers = { "deno.json", "deno.jsonc" },
workspace_required = true,
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
return {
cmd = { 'pylsp' },
filetypes = { 'python' },
root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', '.git' },
}

View File

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

View File

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