Skip to content

Commit

Permalink
usr: cli: vim: mini.nvim: enable indentscope
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed May 28, 2024
1 parent bdcfede commit fb59f30
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions usr/cli/vim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,22 @@ let
}
'';
};
# mini-nvim is wonderful nvim plugin!
# I found it due to below link:
# indent-blankline.nvim is too complex.
# However, it does not support basic functionality like highlight current indentation
# See: https://github.com/lukas-reineke/indent-blankline.nvim/issues/649
my-mini-nvim = {
plugin = pkgs.vimPlugins.mini-nvim;
type = "lua";
config = ''
require('mini.indentscope').setup{
options = {
try_as_border = true,
},
}
'';
};
in
{
imports = [(let
Expand Down Expand Up @@ -944,6 +960,7 @@ in
my-hbac
my-winshift-nvim
my-smartyank-nvim
my-mini-nvim
] ++ (lib.optional config.isGui markdown-preview-nvim);
vimdiffAlias = true;
extraPackages = with pkgs; [
Expand Down

0 comments on commit fb59f30

Please sign in to comment.