mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 19:01:35 +00:00
mini/indentscope: add autocmd to disable indentscope in applicable filetypes
This commit is contained in:
parent
5a3ac8993a
commit
19339ac3cd
3 changed files with 27 additions and 7 deletions
|
@ -1,13 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
{lib, ...}: let
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
inherit (lib.types) str listOf;
|
||||
in {
|
||||
options.vim.mini.indentscope = {
|
||||
enable = mkEnableOption "mini.indentscope";
|
||||
setupOpts = mkPluginSetupOption "mini.indentscope" {};
|
||||
setupOpts = mkPluginSetupOption "mini.indentscope" {
|
||||
ignore_filetypes = mkOption {
|
||||
type = listOf str;
|
||||
default = ["help" "neo-tree" "notify" "NvimTree" "TelescopePrompt"];
|
||||
description = "File types to ignore for illuminate";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue