danielfalk / smart-open.nvim

Neovim plugin for fast file-finding
MIT License
498 stars 25 forks source link

Custom highlight group for directories #65

Open smjonas opened 4 months ago

smjonas commented 4 months ago

Currently, the plugin uses the builtin highlight group Directory to highlight directories. Would you accept a PR that introduces a custom hlgroup such as SmartOpenDirectory (or any other name you might suggest) that would link to Directory by default? This would allow users to redefine the highlight only for the plugin, not globally, e.g. to a different hlgroup such as Comment.

danielfalk commented 4 months ago

Yeah sure. If it links to Directory by default and gives someone flexibility to highlight it differently that works.