summaryrefslogtreecommitdiff
path: root/runtime/syntax/j.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-03 21:14:31 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-03 21:14:31 +0100
commitd5d015d4570eabc9a2da620cce906617e72ac625 (patch)
treec6b0ad205f8155241b2d0e38918258fe1237eaeb /runtime/syntax/j.vim
parent18e5469b6e73dfbd85ac9831224cd4ec29cbe308 (diff)
downloadvim-git-d5d015d4570eabc9a2da620cce906617e72ac625.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/syntax/j.vim')
-rw-r--r--runtime/syntax/j.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/syntax/j.vim b/runtime/syntax/j.vim
index 6ba9366a4..368cfc6cd 100644
--- a/runtime/syntax/j.vim
+++ b/runtime/syntax/j.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: J
" Maintainer: David Bürgin <676c7473@gmail.com>
-" Last Change: 2013-09-21
+" Last Change: 2013-10-06
if exists("b:current_syntax")
finish
@@ -33,11 +33,13 @@ syn match jNumber /\<_\=\d\+\%([eE]\d\+\)\=b_\=[0-9a-z]\+/
syn match jNumber /\<__\=\>/
syn match jNumber /\<_\=\d\+x\>/
-syn match jComment /NB\..*$/
+syn match jComment /NB\..*$/ contains=jTodo,@Spell
+syn keyword jTodo TODO FIXME XXX contained
hi def link jControl Statement
hi def link jString String
hi def link jNumber Number
hi def link jComment Comment
+hi def link jTodo Todo
let b:current_syntax = "j"