I have au rule for Makefiles:
au BufWritePre Makefile :something
Now it turns out that Makefiles in directory $PDIR and $PDIR/**
shall be excluded from this rule.
How do I express such exception in au rule ?
Thanks
Viki
--~--~-~--~~~---~--~~
You
viki wrote:
I have au rule for Makefiles:
au BufWritePre Makefile :something
Now it turns out that Makefiles in directory $PDIR and $PDIR/**
shall be excluded from this rule.
How do I express such exception in au rule ?
You can test the path in the autocommand itself: e.g.,