我加了下面的.vimrc中VIM可變聲明
let g:jslint_status = 'enabled'
if exists("jslint_status")
echo jstlint_status
else
echo 'not found'
endif
錯誤消息的代碼行
E121: Undefined variable: jstlint_status
E15: Invalid expression: jstlint_status
我在做什麼錯?
這是一個很好的技術。我喜歡它。謝謝。我一個接一個地去確保變量拼寫正確。 – 2010-03-12 15:15:23
爲了更快的搜索,只需按任何感興趣的關鍵字的'*'。 – 2010-03-13 20:46:44
+1提及超級明星 – 2010-03-14 05:57:31