Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use Plug to load the plugins that you only need for a specific file. For example, this only load this plugins if I'm working wiht LESS/SCSS/CSS or Vue files :

Plug 'groenewege/vim-less', { 'for': ['less']} Plug 'cakebaker/scss-syntax.vim', { 'for': ['scss'] } Plug 'othree/csscomplete.vim', { 'for': ['less', 'scss', 'css', 'vue'] }



Thank you! I wasn't aware this was possible; it improves things quite a bit for me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: