summaryrefslogtreecommitdiff
path: root/runtime/syntax/robots.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/robots.vim')
-rw-r--r--runtime/syntax/robots.vim24
1 files changed, 11 insertions, 13 deletions
diff --git a/runtime/syntax/robots.vim b/runtime/syntax/robots.vim
index 23be8d228..396bf52b2 100644
--- a/runtime/syntax/robots.vim
+++ b/runtime/syntax/robots.vim
@@ -38,19 +38,17 @@ syn match robotsUrl "http[s]\=://\S*"
syn match robotsMail "\S*@\S*"
syn region robotsString start=+L\="+ skip=+\\\\\|\\"+ end=+"+
-command -nargs=+ HiLink hi def link <args>
-
-HiLink robotsComment Comment
-HiLink robotsAgent Type
-HiLink robotsDisallow Statement
-HiLink robotsLine Special
-HiLink robotsStar Operator
-HiLink robotsDelimiter Delimiter
-HiLink robotsUrl String
-HiLink robotsMail String
-HiLink robotsString String
-
-delcommand HiLink
+
+hi def link robotsComment Comment
+hi def link robotsAgent Type
+hi def link robotsDisallow Statement
+hi def link robotsLine Special
+hi def link robotsStar Operator
+hi def link robotsDelimiter Delimiter
+hi def link robotsUrl String
+hi def link robotsMail String
+hi def link robotsString String
+
let b:current_syntax = "robots"