refactor: plugin cleanup to define the basic nvim shell
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'bash-language-server', 'start' },
|
||||
filetypes = { 'sh', 'bash' },
|
||||
root_markers = { '.bashrc', '.bash_profile', '.profile' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'clangd' },
|
||||
filetypes = { 'c', 'cpp', 'objc', 'objcpp' },
|
||||
root_markers = { 'compile_commands.json', '.git', 'compile_flags.txt' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'vscode-css-language-server', '--stdio' },
|
||||
filetypes = { 'css', 'scss', 'sass' },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
@@ -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,
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'emmet-ls', '--stdio' },
|
||||
filetypes = { 'html', 'css', 'scss', 'less' },
|
||||
root_markers = { '.git' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'gopls' },
|
||||
filetypes = { 'go', 'gomod', 'gowork', 'gotmpl' },
|
||||
root_markers = { 'go.mod', '.git' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'vscode-html-language-server', '--stdio' },
|
||||
filetypes = { 'html', 'htm', 'xhtml' },
|
||||
root_markers = { '.git', 'index.html' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'jdtls' },
|
||||
filetypes = { 'java' },
|
||||
root_markers = { 'pom.xml', 'build.gradle', '.git', 'mvnw', 'gradlew' },
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
return {
|
||||
cmd = { 'vscode-json-language-server', '--stdio' },
|
||||
filetypes = { 'json', 'jsonc' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'lua-language-server' },
|
||||
filetypes = { 'lua' },
|
||||
root_markers = { '.luarc.json', '.luarc.jsonc', '.git' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'pylsp' },
|
||||
filetypes = { 'python' },
|
||||
root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', '.git' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'rust-analyzer' },
|
||||
filetypes = { 'rust' },
|
||||
root_markers = { 'Cargo.toml', 'rust-project.json', '.git' },
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
return {
|
||||
cmd = { 'solargraph', 'stdio' },
|
||||
filetypes = { 'ruby' },
|
||||
root_markers = { 'Gemfile', '.git' },
|
||||
}
|
||||
Reference in New Issue
Block a user