Added some tweak for dev
This commit is contained in:
parent
9071d9b821
commit
07c7c296c8
1 changed files with 15 additions and 0 deletions
|
@ -28,6 +28,8 @@ call plug#begin('~/.vim/plugged')
|
|||
\}
|
||||
Plug 'JamshedVesuna/vim-markdown-preview'
|
||||
Plug 'ternjs/tern_for_vim', {'do': 'yarn install'}
|
||||
Plug 'alvan/vim-closetag'
|
||||
Plug 'psykidellic/vim-jekyll'
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
|
@ -136,3 +138,16 @@ let g:ale_fix_on_save = 1
|
|||
" vim-javascript
|
||||
let g:javascript_plugin_jsdoc = 1 " Enables syntax highlighting for JSDocs
|
||||
let g:javascript_plugin_flow = 1 " Enables syntax highlighting for Flow
|
||||
|
||||
" vim-closetag
|
||||
let g:closetag_filenames = '*.html,*.xhtml,*.phtml'
|
||||
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx, *.ejs'
|
||||
let g:closetag_filetypes = 'html,xhtml,phtml'
|
||||
let g:closetag_xhtml_filetypes = 'xhtml,jsx'
|
||||
let g:closetag_emptyTags_caseSensitive = 1
|
||||
let g:closetag_regions = {
|
||||
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
|
||||
\ 'javascript.jsx': 'jsxRegion',
|
||||
\ }
|
||||
let g:closetag_shortcut = '>'
|
||||
let g:closetag_close_shortcut = '<leader>>'
|
||||
|
|
Loading…
Reference in a new issue