|
|
@ -47,6 +47,8 @@ Plug 'gavocanov/vim-js-indent', { 'for': 'javascript' } " JavaScript indent supp |
|
|
|
Plug 'moll/vim-node', { 'for': 'javascript' } " node support |
|
|
|
Plug 'othree/yajs.vim', { 'for': 'javascript' } " JavaScript syntax plugin |
|
|
|
Plug 'othree/es.next.syntax.vim', { 'for': 'javascript' } " ES6 and beyond syntax |
|
|
|
Plug 'ternjs/tern_for_vim', { 'for': 'javascript', 'do': 'npm install' } " Ternjs for vim |
|
|
|
Plug 'https://github.com/othree/jspc.vim', { 'for': 'javascript' } " Function parameter completion |
|
|
|
Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html' ] } " vue.js integration |
|
|
|
|
|
|
|
" Go |
|
|
@ -199,7 +201,7 @@ inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>" |
|
|
|
" Enable omni completion. |
|
|
|
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS |
|
|
|
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags |
|
|
|
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS |
|
|
|
autocmd FileType javascript setlocal omnifunc=tern#Complete |
|
|
|
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete |
|
|
|
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags |
|
|
|
|
|
|
|