diff options
| author | user@node5.net <user@node5.net> | 2026-06-20 19:43:30 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-06-20 19:43:30 +0200 |
| commit | 03db97c14ea2e75657b38fd736132f5ee3fe68a6 (patch) | |
| tree | 48dc4f3f7a568f2236dc3c19f64b129e9c09dd71 /flake.nix | |
| parent | da2ecda464e558f85343cecaaf4e88b97f49dd03 (diff) | |
indent use new faster lib, auto toggle based on mode
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 37 |
1 files changed, 23 insertions, 14 deletions
@@ -27,6 +27,7 @@ ColorColumn.bg="#0a0a0a"; Normal.bg=null; # Transparent nvim background IlluminatedWordRead.fg="#E06C75"; # Illuminate + BufferTabpageFill.bg=null; }; @@ -186,17 +187,19 @@ visuals = { rainbow-delimiters.enable = true; - indent-blankline = { - enable = true; # Lines that show code nesting indentation - setupOpts = { - # indent.tab_char = "⇥"; - exclude = { - filetypes = [ "dashboard" ]; # Don't show indent on dashboard - }; - }; - }; - nvim-scrollbar.enable = true; # File scrollbar on the right side + blink-indent.enable = true; + # indent-blankline = { + # enable = false; # Lines that show code nesting indentation + # setupOpts = { + # # indent.tab_char = "⇥"; + # exclude = { + # filetypes = [ "dashboard" ]; # Don't show indent on dashboard + # }; + # }; + # }; + nvim-scrollbar.enable = true; # File scrollbar on the right side nvim-web-devicons.enable = true; # Needed for barbar aswell + cinnamon-nvim.enable = true; # smooth scrolling for ANY command }; telescope = { @@ -210,7 +213,6 @@ git = { gitsigns = { # Show changes since last git commit + more shortcuts. enable = true; # Needed for barbar aswell - mappings.previewHunk = "<leader>g"; # Pop up, showing changes since last commit }; }; @@ -367,11 +369,18 @@ action = ":bprevious<CR>"; desc = "Switch to previous open file buffer"; } + { + key = "<C-q>"; + mode = ["n"]; + action = ":BufferClose<CR>"; + desc = "Close tab"; + } ]; - extraLuaFiles = [ - ./lua.lua - ]; + extraLuaFiles = [ + ./lua/neo-tree.lua + ./lua/blink-indent.lua + ]; }; } |
