mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.2c-000
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: AutoHotkey script file
|
||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||
" Latest Revision: 2007-06-01
|
||||
" Latest Revision: 2008-06-22
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -246,6 +246,15 @@ syn keyword autohotkeyBoolean
|
||||
\ true
|
||||
\ false
|
||||
|
||||
" TODO: Shouldn't we look for g:, b:, variables before defaulting to
|
||||
" something?
|
||||
if exists("g:autohotkey_syntax_sync_minlines")
|
||||
let b:autohotkey_syntax_sync_minlines = g:autohotkey_syntax_sync_minlines
|
||||
else
|
||||
let b:autohotkey_syntax_sync_minlines = 50
|
||||
endif
|
||||
exec "syn sync ccomment autohotkeyComment minlines=" . b:autohotkey_syntax_sync_minlines
|
||||
|
||||
hi def link autohotkeyTodo Todo
|
||||
hi def link autohotkeyComment Comment
|
||||
hi def link autohotkeyCommentStart autohotkeyComment
|
||||
|
Reference in New Issue
Block a user