mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
fixed clangd header insertion and added sbb-tui
This commit is contained in:
@@ -41,6 +41,8 @@
|
|||||||
../../modules/home-manager/eza.nix # ls replacement
|
../../modules/home-manager/eza.nix # ls replacement
|
||||||
../../modules/home-manager/vivify.nix # neovim markdown viewer (has also config for qutebrowser
|
../../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/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
|
../../modules/other/desktopEntries.nix # creates .desktop files
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -290,6 +290,8 @@
|
|||||||
clangdFileStatus = true,
|
clangdFileStatus = true,
|
||||||
usePlaceholders = true,
|
usePlaceholders = true,
|
||||||
completeUnimported = false, -- this adds a bunch of #include even thought they are #included in another header file
|
completeUnimported = false, -- this adds a bunch of #include even thought they are #included in another header file
|
||||||
|
headerInsertion = false,
|
||||||
|
headerInsertionDecorators = false,
|
||||||
semanticHighlighting = true}
|
semanticHighlighting = true}
|
||||||
})
|
})
|
||||||
vim.lsp.config("nixd", {
|
vim.lsp.config("nixd", {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user