aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix52
1 files changed, 28 insertions, 24 deletions
diff --git a/flake.nix b/flake.nix
index 18561ab..40a1db3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -75,14 +75,17 @@
vim.g.better_whitespace_filetypes_blacklist = { 'dashboard' } -- Don't show whitespace error on dashboard
'';
};
+ barbar-nvim = { # Intuative tabs for open file buffers
+ package = pkgs.vimPlugins.barbar-nvim;
+ };
#semshi = {
# package = pkgs.vimPlugins.semshi;
# setup = ":UpdateRemotePlugins";
#};
};
- withPython3 = true; # Needed for semshi python improved python highlighting
- python3Packages = [ "pynvim" ]; # Needed for semshi python improved python highlighting
+ # withPython3 = true; # Needed for semshi python improved python highlighting
+ # python3Packages = [ "pynvim" ]; # Needed for semshi python improved python highlighting
filetree.neo-tree = { # File tree for the side
enable = true;
@@ -128,7 +131,7 @@
cheatsheet.enable = true; # A searchable cheatsheet, using Telescope
};
- projects.project-nvim.enable = true; # Search projects and cd to them automatically. Trigger: Space+fp
+ # projects.project-nvim.enable = true; # Search projects and cd to them automatically. Trigger: Space+fp
autocomplete.blink-cmp = { # Code completion pop up
enable = true;
@@ -160,26 +163,26 @@
illuminate.enable = true; # highlights all instances of word under cursor
};
- tabline.nvimBufferline = { # File tabs status bar for open file buffers
- enable = true;
- setupOpts = {
- options = {
- middle_mouse_command = "bd";
- numbers = "none";
- always_show_bufferline = false; # Don't show when only one buffer is open
- };
- highlights = {
- tab = {
- fg = "#aaaaaa";
- bg = null;
- };
- tab_selected = {
- fg = "#00ffff";
- bg = null;
- };
- };
- };
- };
+ # tabline.nvimBufferline = { # File tabs status bar for open file buffers
+ # enable = true;
+ # setupOpts = {
+ # options = {
+ # middle_mouse_command = "bd";
+ # numbers = "none";
+ # always_show_bufferline = false; # Don't show when only one buffer is open
+ # };
+ # highlights = {
+ # tab = {
+ # fg = "#aaaaaa";
+ # bg = null;
+ # };
+ # tab_selected = {
+ # fg = "#00ffff";
+ # bg = null;
+ # };
+ # };
+ # };
+ # };
visuals = {
rainbow-delimiters.enable = true;
@@ -193,6 +196,7 @@
};
};
nvim-scrollbar.enable = true; # File scrollbar on the right side
+ nvim-web-devicons.enable = true; # Needed for barbar aswell
};
telescope = {
@@ -205,7 +209,7 @@
git = {
gitsigns = { # Show changes since last git commit + more shortcuts.
- enable = true;
+ enable = true; # Needed for barbar aswell
mappings.previewHunk = "<leader>g"; # Pop up, showing changes since last commit
};
};