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 = ''