.vue support and highlighting

This commit is contained in:
ManjaroOne666 2017-09-20 18:45:44 +01:00
commit 6e79c843b5
3 changed files with 78 additions and 2 deletions

10
vimrc
View file

@ -67,6 +67,11 @@ Plugin 'shawncplus/phpcomplete.vim'
" https://github.com/joseluis/wordpress.vim-generator
"Plugin 'dsawardekar/wordpress.vim'
" disabled - doesn't support universal ctags?
" vim-vue
" https://github.com/posva/vim-vue
Plugin 'posva/vim-vue'
" All of your Plugins must be added before the following line
call vundle#end() " required
@ -224,7 +229,7 @@ set showmode
" set custom syntax highlighting
autocmd BufNewFile,BufRead *.html set syntax=html_custom
autocmd BufNewFile,BufRead *.php set syntax=php_custom
autocmd BufNewFile,BufRead *.vue set syntax=vue_custom
" fix higlight problems such as vertical-align etc
augroup VimCSS3Syntax
@ -268,6 +273,9 @@ nnoremap <leader>p :echom SyntaxItem()<CR>
" plugins stuff
" vue-vim
" disable preprocessor checking for vue files - increases speed
let g:vue_disable_pre_processors=1
" MUcomplete
set completeopt+=menuone