Currently i'm working on Node.js and I wanted some additional plugins which can help me learning this new technology. I installed tern_for_js and YouCompleteMe from Vundle. I also compiled YCM, but I don't see any auto-completion or any javascript support. Here is my .vimrc:

syntax on

set number
set laststatus=2
set nocompatible
set expandtab
set shiftwidth=2
set smartindent

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'bling/vim-airline'
Plugin 'scrooloose/nerdtree'
Plugin 'ternjs/tern_for_vim'
Plugin 'Valloric/YouCompleteMe'
call vundle#end()

:map <F2> :echo 'Current time is ' . strftime('%c')<CR>

set guifont=ProggyCleanTT:h18
colorscheme torte

Can anybody tell me what I'm doing wrong. Or did I miss something? Is there some extra configuration that have to be made?

  • 1
    "0 down vote favorite I am a huge (...)" hmmmm.... copy/paste: stackoverflow.com/questions/34875417 – mMontu Jan 19 '16 at 11:51
  • That question is also asked by me.. – Rohan Kumar Jan 19 '16 at 11:54
  • That question was also asked by me. But i learned that i can get answer more quickly on Vim Beta community. – Rohan Kumar Jan 19 '16 at 11:55
  • What was the command you used for compiling YCM? – muru Jan 20 '16 at 15:50
  • ./install.py --tern-completer – Rohan Kumar Jan 20 '16 at 18:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.