Often when dealing with config files, a lot of paths are used. Being able to easily detect those paths when highlighted and see if they are missing would be such as live saver.
I propose to add an option --show-paths with the options:
--show-paths=missing, which will only highlight missing paths
--show-paths or --show-paths=all, which will highlight existing paths in green and non-existing paths in red (or in different colors dependent on the theme)
To detect paths I'd use a simple regex.
I can open a PR if you're okay with this idea and this implementation. I haven't looked much into the code, but I know a bit about Rust.
Often when dealing with config files, a lot of paths are used. Being able to easily detect those paths when highlighted and see if they are missing would be such as live saver.
I propose to add an option
--show-pathswith the options:--show-paths=missing, which will only highlight missing paths--show-pathsor--show-paths=all, which will highlight existing paths in green and non-existing paths in red (or in different colors dependent on the theme)To detect paths I'd use a simple regex.
I can open a PR if you're okay with this idea and this implementation. I haven't looked much into the code, but I know a bit about Rust.