@@ -645,27 +645,43 @@ highlight group which will be applied when they are visible, see
645645 hide_by_pattern = {
646646 --"*.meta",
647647 },
648- never_show = { -- remains hidden even if visible is toggled to true
648+ always_show = { -- remains visible even if other settings would normally hide it
649+ --".gitignored",
650+ },
651+ never_show = { -- remains hidden even if visible is toggled to true, this overrides always_show
649652 --".DS_Store",
650653 --"thumbs.db",
651654 },
652655 },
653656 }
654657 })
655658<
659+
656660The `visible` option just defines the default value. This value is toggled by
657661the "toggle_hidden" command, which is mapped to H by default.
658662
659- The `never_show` option is the same as `hide_by_name` , except that those items
660- will remain hidden even if you toggle `visible` to true. This section takes
661- precedence over the others.
663+ The `hide_dotfiles` option just hides anything that starts with `. `(period).
662664
663- The `hide_by_pattern ` option uses glob syntax, which is converted to lua
664- patterns. No gaurantees on how it handles advanced patterns .
665+ The `hide_gitignored ` option will query git for the files and folders being
666+ shown, and hide those that are marked as ignored .
665667
666668The `hide_hidden` option only will work on Windows using the Windows logic
667669that determines if a file or directory is hidden.
668670
671+ The `hide_by_name` option is a list of file/folder names that should be
672+ hidden. This is an exact match.
673+
674+ The `hide_by_pattern` option uses glob syntax, which is converted to lua
675+ patterns. No gaurantees on how it handles advanced patterns.
676+
677+ The `always_show` option is a list of file/folder names that will always be
678+ visible, even if other settings would normally hide it. This section takes
679+ precedence over all other options except for `never_show` .
680+
681+ The `never_show` option is the same as `hide_by_name` , except that those items
682+ will remain hidden even if you toggle `visible` to true. This section takes
683+ precedence over the others.
684+
669685
670686NETRW HIJACK BEHAVIOR *neo-tree-netrw-hijack*
671687
0 commit comments