How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -


what put in vim config? how change it?

i want .html extension...because html...

i think need

au bufread,bufnewfile *.ejs setfiletype html 

au short autocmd

docs

it's idea put inside test

if has("autocmd")     au bufread,bufnewfile *.ejs setfiletype html endif 

to avoid error messages if ever use cut-down version of vim doesn't support feature.

finally, if have default filetype rule like:

au bufread,bufnewfile * setfiletype text 

then *.ejs rule must above it.


Comments

  1. A1 - Thauberbet - South Africa 메리트카지노 메리트카지노 カジノ シークレット カジノ シークレット betway login betway login 카지노사이트 카지노사이트 カジノ シークレット カジノ シークレット 1xbet korean 1xbet korean 138 JOKER CASINO SITUS JOKER CASINO SA - 타워픈

    ReplyDelete

Post a Comment

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -