sheerun / vim-polyglot

A solid language pack for Vim.
5.6k stars 296 forks source link

How to use plugins for non-default languages? #203

Closed partounian closed 7 years ago

partounian commented 7 years ago

For example, I use the smarty templating engine for work and would like to use html5.vim for it along with M4R7iNP/smarty.vim . Another example is wanting to use the current pug plugin for files that end in ".pug.blade.php" .

sheerun commented 7 years ago

You just use package manager for vim like vim-plug, and include them normally. Something like Plug "digitaltoad/vim-pug" in your .vimrc