only show files of specific filetype #1624
Unanswered
exformation
asked this question in
Q&A
Replies: 1 comment
-
Looks like we can't use regex in lua. See: https://stackoverflow.com/questions/6192137/how-to-write-this-regular-expression-in-lua Maybe the developer of NeoTree can tell us if we can use the expression "not" which is sometimes expressed as ! (exclamation mark). Or may be there's a command like I don't speak lua so I don't know pattern matching works in lua. P.S. Thank you for your post. I didn't know about
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to write a toggle that will filter out all files that aren't of the current filetype.
I've messed around with various forms of the following, which is attempting to hide anything that isn't a lua file, but can't get it working:
I've also tried this to no avail:
I'm also not sure how I'd implement this as a toggle once I get it working.
Beta Was this translation helpful? Give feedback.
All reactions