Skip to content

Instantly share code, notes, and snippets.

@santiagocezar
Last active April 9, 2024 22:26
Show Gist options
  • Select an option

  • Save santiagocezar/b3572877cdbd8ca062d9a68612b77fc9 to your computer and use it in GitHub Desktop.

Select an option

Save santiagocezar/b3572877cdbd8ca062d9a68612b77fc9 to your computer and use it in GitHub Desktop.
Custom LSP configs for Kate
{
"servers": {
"nix": {
"command": ["rnix-lsp"],
"url": "https://github.com/nix-community/rnix-lsp",
"highlightingModeRegex": "^Nix$"
},
"astro": {
"command": ["astro-ls", "--stdio"],
"rootIndicationFilePatterns": ["package.json"],
"highlightingModeRegex": "^Astro$",
"initializationOptions": {
"typescript": {
"tsdk": "node_modules/typescript/lib"
}
}
},
"c": {
"command": ["clangd", "-log=error", "--background-index", "--limit-results=500", "--completion-style=bundled", "--compile-commands-dir=build/"],
"root": "",
"commandDebug": ["clangd", "-log=verbose", "--background-index"],
"url": "https://clang.llvm.org/extra/clangd/",
"highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment