neovim: add clangd lsp

This commit is contained in:
2026-06-14 00:48:22 +02:00
parent 5e78021cd2
commit 9a43cec4ff
+17
View File
@@ -31,6 +31,15 @@
formatterMode = "typstyle";
};
};
clangd = {
enable = true;
settings = {
filetypes = [
"c"
"h"
];
};
};
};
};
# There has been some drama, the repo was archived and stuff.
@@ -62,6 +71,14 @@
action = "<cmd>Telescope find_files<CR>";
key = "<leader>ff";
}
{
action = "<cmd>lua vim.lsp.buf.definition()<CR>";
key = "<leader>gd";
}
{
action = "<cmd>lua vim.lsp.buf.declaration()<CR>";
key = "<leader>gD";
}
];
}
// lib.optionalAttrs (!stable) {