0

Vim plugin

I've problem when install pangloss/vim-javascript plugin.

It can't show syntax highlight on .js file.

Include document ,if/else ,do while

I'm already try pangloss github and find else answer, but can't solve.

Here's my setting link https://github.com/ChiHsiang/oliver-vim

Please help me. thanks a lot.

1 Answer 1

2

Add

syntax on

to your ~/.vimrc file and it should work rightaway.

Sign up to request clarification or add additional context in comments.

3 Comments

It's already exist.I use syntax on or syntax enable .same it. thanks.
Your setup uses quite an older version of Vundle (Your plugins are still defined as Bundle 'repo-name' while the latest version uses Plugin 'repo-name'). How about recreating your .vimrc with latest plugins? Are you expieriencing any problems with other plugins?
half a day reading various plugin tutorials and published README docs and none have mentioned this as a requirement. Using vim 8 native plugin manager and vim-javascript, this worked for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.