1
0
Fork 0
mirror of synced 2024-06-30 20:41:09 -04:00

set vue high light

This commit is contained in:
wangzheng 2018-10-15 13:34:23 +08:00
parent 166d5e7a61
commit 2b489eaa0f
2 changed files with 24 additions and 1 deletions

View file

@ -386,3 +386,26 @@ function! VisualSelection(direction, extra_filter) range
let @/ = l:pattern let @/ = l:pattern
let @" = l:saved_reg let @" = l:saved_reg
endfunction endfunction
" 我的自定义配置
autocmd BufRead,BufNewFile *.vue setlocal filetype=vue.html.javascript.css
autocmd FileType vue syntax sync fromstart

View file

@ -10,7 +10,7 @@
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Set font according to system " Set font according to system
if has("mac") || has("macunix") if has("mac") || has("macunix")
set gfn=IBM\ Plex\ Mono:h14,Hack:h14,Source\ Code\ Pro:h15,Menlo:h15 set gfn=IBM\ Plex\ Mono:h16,Hack:h16,Source\ Code\ Pro:h16,Menlo:h16
elseif has("win16") || has("win32") elseif has("win16") || has("win32")
set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11 set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
elseif has("gui_gtk2") elseif has("gui_gtk2")