I know that it's not very common, but there are few cases in which I would really like to inherit the configurations for one filetype in another.
Example: whatever I set for
sh I would like to inherit in
I know that it might be dangerous, since I won't be able to set any
sh specific variable any longer, but in few cases (like this), I don't believe this should be a problem.
For the time being the best way I found it's to use:
are you aware of anything better?
ftdetectitself: if I have custom rules for
zshthe wanted behavior would be to extend filetype also for them, but maybe it's just a matter of sorting the commands. Can you point me the reference for multiple filetypes? I cannot find it in the docs...
:help 'filetype'that begins "When a dot"
:helpis an art in and of itself ;)