diff options
Diffstat (limited to 'config/plugins/mini.nix')
| -rw-r--r-- | config/plugins/mini.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/plugins/mini.nix b/config/plugins/mini.nix new file mode 100644 index 0000000..48bb0ed --- /dev/null +++ b/config/plugins/mini.nix @@ -0,0 +1,36 @@ +{ + plugins.mini = { + enable = true; + + modules = { + comment = {}; + pairs = {}; + indentscope = { + options.try_as_border = true; + }; + }; + }; + + autoCmd = [ + { + event = ["FileType"]; + pattern = [ + "help" + "neo-tree" + "Trouble" + "lazy" + "mason" + "notify" + "toggleterm" + ]; + + callback = { + __raw = '' + function() + vim.b.miniindentscope_disable = true + end + ''; + }; + } + ]; +} |
