diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index fff24144..8b7f3e62 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -386,3 +386,26 @@ function! VisualSelection(direction, extra_filter) range let @/ = l:pattern let @" = l:saved_reg endfunction + + + + + + + + + + + +" 我的自定义配置 +autocmd BufRead,BufNewFile *.vue setlocal filetype=vue.html.javascript.css +autocmd FileType vue syntax sync fromstart + + + + + + + + + diff --git a/vimrcs/extended.vim b/vimrcs/extended.vim index a4f0c9b9..d2d8000b 100644 --- a/vimrcs/extended.vim +++ b/vimrcs/extended.vim @@ -10,7 +10,7 @@ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Set font according to system 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") set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11 elseif has("gui_gtk2")