initial commit

This commit is contained in:
2025-10-14 12:29:46 +02:00
parent 0439bb0ff7
commit 903704e4d7
99 changed files with 8495 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
return {
cmd = { "clangd" },
filetypes = { "c", "cpp", "objc", "objcpp" },
}

View File

@@ -0,0 +1,6 @@
return {
config = function()
return {}
end
}

View File

@@ -0,0 +1,3 @@
return {
cmd = { "vscode-eslint-language-server", "--stdio" }
}

View File

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

View File

@@ -0,0 +1,3 @@
return {
cmd = { "vscode-html-language-server", "--stdio" },
}

View File

@@ -0,0 +1,18 @@
return {
cmd = { "jdtls", "-configuration", "/home/quirinecker/.cache/jdtls/config", "-data", "/home/quirinecker/.cache/jdtls/workspace" },
java = {
contentProvider = { preferred = 'fernflower' },
configuration = {
updateBuildConfiguration = 'interactive',
},
},
{
jvm_args = {},
workspace = "/home/quirinecker/.cache/jdtls/workspace"
},
init_options = {
jvm_args = {
"--enable-preview"
}
}
}

View File

@@ -0,0 +1,17 @@
return {
cmd = { "vscode-json-language-server", "--stdio" },
settings = {
json = {
schemas = {
{
fileMatch = { 'package.json' },
url = 'https://json.schemastore.org/package.json',
},
{
fileMatch = { 'tsconfig.json', 'tsconfig.*.json' },
url = 'https://json.schemastore.org/tsconfig.json'
}
},
},
}
}

View File

@@ -0,0 +1,46 @@
function should_load_nvim_workspace()
return true
end
return {
on_init = function(client)
if not should_load_nvim_workspace() then
return
end
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
runtime = {
-- Tell the language server which version of Lua you're using (most
-- likely LuaJIT in the case of Neovim)
version = 'LuaJIT',
-- Tell the language server how to find Lua modules same way as Neovim
-- (see `:h lua-module-load`)
path = {
'lua/?.lua',
'lua/?/init.lua',
},
},
-- Make the server aware of Neovim runtime files
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME
-- Depending on the usage, you might want to add additional paths
-- here.
-- '${3rd}/luv/library'
-- '${3rd}/busted/library'
}
-- Or pull in all of 'runtimepath'.
-- NOTE: this is a lot slower and will cause issues when working on
-- your own configuration.
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
-- library = {
-- vim.api.nvim_get_runtime_file('', true),
-- }
}
})
end,
settings = {
Lua = {}
}
}

View File

@@ -0,0 +1,16 @@
return {
['nil'] = {
cmd = { "nil" },
settings = {
["nil"] = {
formatting = {
command = { "nixfmt" },
},
},
},
},
['nixd'] = {
cmd = { "nixd" },
}
}

View File

@@ -0,0 +1,3 @@
return {
cmd = {"protols"}
}

View File

@@ -0,0 +1,3 @@
return {
cmd = { "pyright" },
}

View File

@@ -0,0 +1,10 @@
return {
cmd = { "rust-analyzer" },
settings = {
["rust-analyzer"] = {
rustfmt = {
overrideCommand = { "rustfmt" },
}
}
}
}

View File

@@ -0,0 +1,4 @@
return {
cmd = { "tailwindcss-language-server", "--stdio" },
root_markers = { "package.json" },
}

View File

@@ -0,0 +1,3 @@
return {
cmd = { "taplo", "lsp", "stdio" }
}

View File

@@ -0,0 +1,27 @@
return {
config = function()
local vuePluginPath = vim.fn.expand(
"~/.config/dotfiles/homes/quirinecker/.npm_global/node_modules/@vue/typescript-plugin/")
return {
cmd = { "typescript-language-server", "--stdio" },
single_file_support = true,
init_options = {
plugins = {
{
name = "@vue/typescript-plugin",
location = vuePluginPath,
languages = { "javascript", "typescript", "vue" },
},
},
},
filetypes = {
"javascript",
"typescript",
-- currently disabled because no attribute completions
-- "vue",
}
}
end
}

View File

@@ -0,0 +1,25 @@
return {
config = function()
local vuePluginPath = vim.fn.expand(
"~/.config/dotfiles/homes/quirinecker/.npm_global/node_modules/@vue/typescript-plugin/")
local vue_plugin = {
name = '@vue/typescript-plugin',
location = vuePluginPath,
languages = { 'vue' },
configNamespace = 'typescript',
}
return {
settings = {
vtsls = {
tsserver = {
globalPlugins = {
vue_plugin,
},
},
},
},
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
}
end
}

View File

@@ -0,0 +1,3 @@
return {
cmd = { "vue-language-server", "--stdio" },
}

View File

@@ -0,0 +1,14 @@
return {
cmd = { "yaml-language-server", "--stdio" },
settings = {
yaml = {
schemas = {
["https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json"] =
"compose.yaml",
["https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/github-workflow.json"] = "**/.github/workflows/*"
}
}
}
}