Browse Source

Add completion for gulp

coc
Schneider 8 years ago
parent
commit
9b6763befc
  1. 4
      vimrc.symlink
  2. 5
      zsh/custom.zsh

4
vimrc.symlink

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

5
zsh/custom.zsh

@ -8,3 +8,8 @@ export goschneider="$HOME/go/src/git.webschneider.org"
source $HOME/.dotfiles/zsh/aliases.zsh source $HOME/.dotfiles/zsh/aliases.zsh
# Shell completion for gulp
if hash gulp 2&> /dev/null; then
eval "$(gulp --completion=zsh)"
fi
Loading…
Cancel
Save