Permalink
Browse files

Make the reserved words error configurable

  • Loading branch information...
kchmck committed Jul 13, 2010
1 parent c1de552 commit 12f044a8799752ee5569bfc474a2e8768bbb4d2d
Showing with 11 additions and 3 deletions.
  1. +6 −0 readme.md
  2. +5 −3 syntax/coffee.vim
View
@@ -69,3 +69,9 @@ following line can be added to your `~/.vimrc` to disable it:
Likewise for the highlighting of trailing semicolons:
let coffee_no_trailing_semicolon_error = 1
+
+#### Disable future/reserved words error highlighting
+
+The same for reserved words:
+
+ let coffee_no_reserved_words_error = 1
View
@@ -134,6 +134,8 @@ if !exists("coffee_no_trailing_semicolon_error")
endif
" Displays an error for reserved words
-syntax keyword coffeeReservedError case default do function var void with const
-\ let enum export import native
-highlight default link coffeeReservedError Error
+if !exists("coffee_no_reserved_words_error")
+ syntax keyword coffeeReservedError case default do function var void with const
+ \ let enum export import native
+ highlight default link coffeeReservedError Error
+endif

0 comments on commit 12f044a

Please sign in to comment.