vim
Bestandstype plug-ins
Zoeken…
Waar moeten aangepaste filetype plug-ins worden geplaatst?
Bestandstype-plug-ins voor foo bestandstype zijn in die volgorde:
1. $HOME/.vim/ftplugin/foo.vim . Wees voorzichtig met wat je in dat bestand $VIMRUNTIME/ftplugin/foo.vim want het kan worden overschreven door $VIMRUNTIME/ftplugin/foo.vim - onder Windows wordt het in plaats daarvan $HOME/vimfiles/ftplugin/foo.vim
2. $VIMRUNTIME/ftplugin/foo.vim . Zoals alles onder $VIMRUNTIME , mag dit bestand niet worden gewijzigd.
3. $HOME/.vim/after/ftplugin/foo.vim . Dit bestand komt als laatste, dus het is de ideale plek voor uw bestandstype-specifieke instellingen.
Modified text is an extract of the original Stack Overflow Documentation
Licentie onder CC BY-SA 3.0
Niet aangesloten bij Stack Overflow