This commit is contained in:
Sebastian Moser
2026-02-17 22:30:17 +01:00
parent d3f6e79b85
commit e6a35ee756
34 changed files with 2839 additions and 796 deletions

View File

@@ -1,5 +1,9 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
ccls
];
programs.neovim = {
enable = true;
withPython3 = true;
@@ -25,6 +29,16 @@
"rust-analyzer.diagnostics.enable" = true;
"rust-analyzer.checkOnSave.enable" = false;
"languageserver" = {
"ccls" = {
"command" = "ccls";
"filetypes" = ["c" "cpp" "objc" "objcpp"];
"rootPatterns" = [".ccls" "compile_commands.json" ".vim/" ".git/" ".hg/"];
"initializationOptions" = {
"cache" = {
"directory" = "/tmp/ccls";
};
};
};
"slint" = {
"filetypes" = [ "slint" ];
"command" = "slint-lsp";