From d619e531d34edf62a637d1d34c5057bd6016b9c9 Mon Sep 17 00:00:00 2001 From: zackartz Date: Wed, 13 Mar 2024 13:15:15 -0400 Subject: [PATCH] 171 current 2024-03-13 13:15:07 24.05.20240309.3030f18 6.7.9-zen1 * --- modules/home-manager/vim.nix | 47 ++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/modules/home-manager/vim.nix b/modules/home-manager/vim.nix index 626f209..21dc75a 100644 --- a/modules/home-manager/vim.nix +++ b/modules/home-manager/vim.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + inputs, + ... +}: { config = { enable = true; @@ -218,6 +222,43 @@ ]; }; + plugins.indent-blankline = { + enable = true; + extraOptions = { + exclude = { + buftypes = [ + "nofile" + "terminal" + ]; + filetypes = [ + "help" + "startify" + "aerial" + "alpha" + "dashboard" + "neogitstatus" + "neo-tree" + "TelescopePrompt" + ]; + scope = { + show_start = false; + show_end = false; + highlight = ["@keyword"]; + char = "▏"; + include = { + node_type = { + lua = ["table_constructor"]; + }; + }; + }; + whitespace = { + remove_blankline_trail = true; + }; + indent = {char = "▏";}; + }; + }; + }; + # plugins.nvim-jdtls = { # enable = true; # @@ -305,10 +346,6 @@ plugin = overseer-nvim; config = ''lua require('overseer').setup({ task_list = { direction = "bottom" } })''; } - { - plugin = dropbar-nvim; - config = ''lua require('dropbar').setup({ icons = { enable = true, kinds = { use_devicons = false, symbols = { File = "", Folder = "" } }} })''; - } ]; extraConfigLua = ''