Permalink
Browse files

add highlighting

  • Loading branch information...
Sven Fuchs
Sven Fuchs committed Nov 7, 2010
1 parent 6e373da commit d88650400c95d573d81719b57b9a6b7a85d341ac
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/vim/todo.rb
View
@@ -49,8 +49,8 @@ def init
init_window
init_buffer
init_keys
+ init_highlighting
render
- # init_highlighting
end
def init_window
@@ -78,6 +78,11 @@ def init_keys
map_key :CR, :open
end
+ def init_highlighting
+ cmd 'hi link vimTodoFile Comment'
+ cmd 'syn match vimTodoFile "^\S*"'
+ end
+
def set_status(status)
cmd "setlocal statusline=#{status}"
end

0 comments on commit d886504

Please sign in to comment.