fixed clangd header insertion and added sbb-tui

This commit is contained in:
2026-04-26 19:33:07 +02:00
parent 10f4887ef0
commit 5578496be0
3 changed files with 36 additions and 0 deletions
+2
View File
@@ -41,6 +41,8 @@
../../modules/home-manager/eza.nix # ls replacement
../../modules/home-manager/vivify.nix # neovim markdown viewer (has also config for qutebrowser
#../../modules/home-manager/micro.nix # micro text editor. Not main editor (used for testing for notewrapper)
../../modules/home-manager/sbb-tui.nix # cff TUI app
../../modules/other/desktopEntries.nix # creates .desktop files
];
+2
View File
@@ -290,6 +290,8 @@
clangdFileStatus = true,
usePlaceholders = true,
completeUnimported = false, -- this adds a bunch of #include even thought they are #included in another header file
headerInsertion = false,
headerInsertionDecorators = false,
semanticHighlighting = true}
})
vim.lsp.config("nixd", {
+32
View File
@@ -0,0 +1,32 @@
{
pkgs-unstable,
...
}: {
home.packages = [
pkgs-unstable.sbb-tui
];
home.file.".config/sbb-tui/config.yaml" = {
enable = true;
# Gruvbox (from https://github.com/Necrom4/sbb-tui/blob/master/docs/themes.md)
text = ''
ui:
nerdfont: true
theme:
text: "#EBDBB2"
textMuted: "#928374"
error: "#FB4934"
warning: "#FB4934"
borderFocused: "#FABD2F"
borderUnfocused: "#504945"
badgeKeyFg: "#282828"
badgeKeyBg: "#FABD2F"
badgeVehicleFg: "#EBDBB2"
badgeVehicleBg: "#458588"
badgeModelFg: "#282828"
badgeModelBg: "#FB4934"
badgeCompanyFg: "#282828"
badgeCompanyBg: "#EBDBB2"
logo: "#EBDBB2"
'';
};
}