vim variable declaration

Posted by dorelal on Stack Overflow See other posts from Stack Overflow or by dorelal
Published on 2010-03-11T21:11:25Z Indexed on 2010/03/11 21:14 UTC
Read the original article Hit count: 175

Filed under:

I added following line of code in .vimrc

let g:jslint_status = 'enabled'

if exists("jslint_status")
  echo jstlint_status
else
  echo 'not found'
endif

Error message

E121: Undefined variable: jstlint_status
E15: Invalid expression: jstlint_status

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about vim