diff options
| author | seth <[email protected]> | 2023-12-18 01:28:42 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-18 02:18:35 -0500 |
| commit | 8faa242f21648e52a6bbdfa803fd4ea1b0e347e0 (patch) | |
| tree | eff6694cefb2f821bf19b0d8cb3d97bf48cb15b9 /config/plugins/mini.nix | |
| parent | 9fe8afd0c5f2b439176728d8863570bf22614dbd (diff) | |
port to nixvim
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 + ''; + }; + } + ]; +} |
