Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: Vim help file |
Christian Brabandt | e978b45 | 2023-08-13 10:33:05 +0200 | [diff] [blame] | 3 | " Maintainer: The Vim Project <https://github.com/vim/vim> |
Shougo Matsushita | 5ddcecf | 2024-12-25 10:55:48 +0100 | [diff] [blame] | 4 | " Last Change: 2024 Dec 25 |
Christian Brabandt | e978b45 | 2023-08-13 10:33:05 +0200 | [diff] [blame] | 5 | " Former Maintainer: Bram Moolenaar <Bram@vim.org> |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 6 | |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 7 | " Quit when a (custom) syntax file was already loaded |
| 8 | if exists("b:current_syntax") |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 9 | finish |
| 10 | endif |
| 11 | |
Bram Moolenaar | 6ee8d89 | 2012-01-10 14:55:01 +0100 | [diff] [blame] | 12 | let s:cpo_save = &cpo |
| 13 | set cpo&vim |
| 14 | |
Shougo Matsushita | 5ddcecf | 2024-12-25 10:55:48 +0100 | [diff] [blame] | 15 | if !exists('g:help_example_languages') |
| 16 | let g:help_example_languages = #{ vim: 'vim' } |
| 17 | endif |
| 18 | |
Bram Moolenaar | d13166e | 2022-11-18 21:49:57 +0000 | [diff] [blame] | 19 | syn match helpHeadline "^[A-Z.][-A-Z0-9 .,()_']*?\=\ze\(\s\+\*\|$\)" |
Bram Moolenaar | 6c35bea | 2012-07-25 17:49:10 +0200 | [diff] [blame] | 20 | syn match helpSectionDelim "^===.*===$" |
| 21 | syn match helpSectionDelim "^---.*--$" |
Shougo Matsushita | 6fea0a5 | 2024-12-15 20:47:37 +0100 | [diff] [blame] | 22 | |
Bram Moolenaar | dd007ed | 2013-07-09 15:44:17 +0200 | [diff] [blame] | 23 | if has("conceal") |
Shougo Matsushita | 5ddcecf | 2024-12-25 10:55:48 +0100 | [diff] [blame] | 24 | syn region helpExample matchgroup=helpIgnore |
| 25 | \ start="\%(^\| \)>[a-z0-9]*$" end="^[^ \t]"me=e-1 end="^<" concealends |
Shougo Matsushita | 6fea0a5 | 2024-12-15 20:47:37 +0100 | [diff] [blame] | 26 | else |
Shougo Matsushita | 5ddcecf | 2024-12-25 10:55:48 +0100 | [diff] [blame] | 27 | syn region helpExample matchgroup=helpIgnore |
| 28 | \ start="\%(^\| \)>[a-z0-9]*$" end="^[^ \t]"me=e-1 end="^<" |
Bram Moolenaar | dd007ed | 2013-07-09 15:44:17 +0200 | [diff] [blame] | 29 | endif |
Shougo Matsushita | 5ddcecf | 2024-12-25 10:55:48 +0100 | [diff] [blame] | 30 | |
| 31 | for [s:lang, s:syntax] in g:help_example_languages->items() |
| 32 | unlet! b:current_syntax |
| 33 | " silent! to prevent E403 |
| 34 | execute 'silent! syn include' $'@helpExampleHighlight_{s:lang}' |
| 35 | \ $'syntax/{s:syntax}.vim' |
| 36 | |
| 37 | execute $'syn region helpExampleHighlight_{s:lang} matchgroup=helpIgnore' |
| 38 | \ $'start=/\%(^\| \)>{s:lang}$/' |
| 39 | \ 'end=/^[^ \t]/me=e-1 end=/^</' |
| 40 | \ (has("conceal") ? 'concealends' : '') |
| 41 | \ $'contains=@helpExampleHighlight_{s:lang} keepend' |
| 42 | endfor |
| 43 | unlet! s:lang s:syntax |
| 44 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 45 | if has("ebcdic") |
Bram Moolenaar | 18144c8 | 2006-04-12 21:52:12 +0000 | [diff] [blame] | 46 | syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar |
Bram Moolenaar | 7fc904b | 2006-04-13 20:37:35 +0000 | [diff] [blame] | 47 | syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar |
| 48 | syn match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 49 | else |
Bram Moolenaar | 18144c8 | 2006-04-12 21:52:12 +0000 | [diff] [blame] | 50 | syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar |
Bram Moolenaar | 7fc904b | 2006-04-13 20:37:35 +0000 | [diff] [blame] | 51 | syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar |
| 52 | syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 53 | endif |
Bram Moolenaar | 9729301 | 2011-07-18 19:40:27 +0200 | [diff] [blame] | 54 | if has("conceal") |
Bram Moolenaar | fa13eef | 2013-02-06 17:34:04 +0100 | [diff] [blame] | 55 | syn match helpBar contained "|" conceal |
| 56 | syn match helpBacktick contained "`" conceal |
Bram Moolenaar | 9729301 | 2011-07-18 19:40:27 +0200 | [diff] [blame] | 57 | syn match helpStar contained "\*" conceal |
| 58 | else |
Bram Moolenaar | fa13eef | 2013-02-06 17:34:04 +0100 | [diff] [blame] | 59 | syn match helpBar contained "|" |
| 60 | syn match helpBacktick contained "`" |
Bram Moolenaar | 9729301 | 2011-07-18 19:40:27 +0200 | [diff] [blame] | 61 | syn match helpStar contained "\*" |
| 62 | endif |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 63 | syn match helpNormal "|.*====*|" |
Bram Moolenaar | f1568ec | 2011-12-14 21:17:39 +0100 | [diff] [blame] | 64 | syn match helpNormal "|||" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 65 | syn match helpNormal ":|vim:|" " for :help modeline |
Bram Moolenaar | 251835e | 2014-02-24 02:51:51 +0100 | [diff] [blame] | 66 | syn match helpVim "\<Vim version [0-9][0-9.a-z]*" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 67 | syn match helpVim "VIM REFERENCE.*" |
| 68 | syn match helpOption "'[a-z]\{2,\}'" |
| 69 | syn match helpOption "'t_..'" |
Bram Moolenaar | 9fbdbb8 | 2022-09-27 17:30:34 +0100 | [diff] [blame] | 70 | syn match helpNormal "'ab'" |
Bram Moolenaar | 7cba6c0 | 2013-09-05 22:13:31 +0200 | [diff] [blame] | 71 | syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick |
Christian Brabandt | 4bfb899 | 2024-10-16 21:58:17 +0200 | [diff] [blame] | 72 | " doesn't allow a . directly after an ending backtick. See :helpgrep `[^`,]\+ [^`,]\+`\. |
| 73 | syn match helpCommand "\(^\|[^a-z"[]\)\zs`[^`]\+`\ze\([^a-z\t."']\|[.?!]\?$\)"hs=s+1,he=e-1 contains=helpBacktick |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 74 | syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore |
Bram Moolenaar | 166af9b | 2010-11-16 20:34:40 +0100 | [diff] [blame] | 75 | syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore |
Bram Moolenaar | 9729301 | 2011-07-18 19:40:27 +0200 | [diff] [blame] | 76 | if has("conceal") |
| 77 | syn match helpIgnore "." contained conceal |
| 78 | else |
| 79 | syn match helpIgnore "." contained |
| 80 | endif |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 81 | syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes: |
Milly | 6c2fc37 | 2024-10-16 22:11:17 +0200 | [diff] [blame] | 82 | syn match helpNote "\c(note\(:\|\>\)"ms=s+1 |
Bram Moolenaar | 3ec574f | 2017-06-13 18:12:01 +0200 | [diff] [blame] | 83 | syn keyword helpWarning WARNING WARNING: Warning: |
| 84 | syn keyword helpDeprecated DEPRECATED DEPRECATED: Deprecated: |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 85 | syn match helpSpecial "\<N\>" |
| 86 | syn match helpSpecial "\<N\.$"me=e-1 |
| 87 | syn match helpSpecial "\<N\.\s"me=e-2 |
| 88 | syn match helpSpecial "(N\>"ms=s+1 |
Bram Moolenaar | 01164a6 | 2017-11-02 22:58:42 +0100 | [diff] [blame] | 89 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 90 | syn match helpSpecial "\[N]" |
Milly | 89872f5 | 2024-10-05 17:16:18 +0200 | [diff] [blame] | 91 | " avoid highlighting N N in quickref.txt |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 92 | syn match helpSpecial "N N"he=s+1 |
| 93 | syn match helpSpecial "Nth"me=e-2 |
| 94 | syn match helpSpecial "N-1"me=e-2 |
Milly | 6c2fc37 | 2024-10-16 22:11:17 +0200 | [diff] [blame] | 95 | " highlighting N for :resize in windows.txt |
| 96 | syn match helpSpecial "] -N\>"ms=s+3 |
| 97 | syn match helpSpecial "+N\>"ms=s+1 |
| 98 | syn match helpSpecial "\[+-]N\>"ms=s+4 |
Milly | 89872f5 | 2024-10-05 17:16:18 +0200 | [diff] [blame] | 99 | " highlighting N of cinoptions-values in indent.txt |
| 100 | syn match helpSpecial "^\t-\?\zsNs\?\s"me=s+1 |
| 101 | " highlighting N of cinoptions-values in indent.txt |
| 102 | syn match helpSpecial "^\t[>enf{}^L:=lbghNEpti+cC/(uUwWkmMjJ)*#P]N\s"ms=s+2,me=e-1 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 103 | syn match helpSpecial "{[-a-zA-Z0-9'"*+/:%#=[\]<>.,]\+}" |
| 104 | syn match helpSpecial "\s\[[-a-z^A-Z0-9_]\{2,}]"ms=s+1 |
| 105 | syn match helpSpecial "<[-a-zA-Z0-9_]\+>" |
| 106 | syn match helpSpecial "<[SCM]-.>" |
| 107 | syn match helpNormal "<---*>" |
| 108 | syn match helpSpecial "\[range]" |
| 109 | syn match helpSpecial "\[line]" |
| 110 | syn match helpSpecial "\[count]" |
| 111 | syn match helpSpecial "\[offset]" |
| 112 | syn match helpSpecial "\[cmd]" |
Bram Moolenaar | 4d8f476 | 2021-06-27 15:18:56 +0200 | [diff] [blame] | 113 | syn match helpNormal "vim9\[cmd]" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 114 | syn match helpSpecial "\[num]" |
| 115 | syn match helpSpecial "\[+num]" |
| 116 | syn match helpSpecial "\[-num]" |
| 117 | syn match helpSpecial "\[+cmd]" |
| 118 | syn match helpSpecial "\[++opt]" |
| 119 | syn match helpSpecial "\[arg]" |
| 120 | syn match helpSpecial "\[arguments]" |
| 121 | syn match helpSpecial "\[ident]" |
| 122 | syn match helpSpecial "\[addr]" |
| 123 | syn match helpSpecial "\[group]" |
Bram Moolenaar | 01164a6 | 2017-11-02 22:58:42 +0100 | [diff] [blame] | 124 | " Don't highlight [converted] and others that do not have a tag |
| 125 | syn match helpNormal "\[\(readonly\|fifo\|socket\|converted\|crypted\)]" |
| 126 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 127 | syn match helpSpecial "CTRL-." |
Christian Brabandt | d3b55d7 | 2024-10-08 20:20:23 +0200 | [diff] [blame] | 128 | syn match helpSpecial "CTRL-<\a\+>" |
Bram Moolenaar | 0c0734d | 2019-11-26 21:44:46 +0100 | [diff] [blame] | 129 | syn match helpSpecial "CTRL-SHIFT-." |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 130 | syn match helpSpecial "CTRL-Break" |
| 131 | syn match helpSpecial "CTRL-PageUp" |
| 132 | syn match helpSpecial "CTRL-PageDown" |
| 133 | syn match helpSpecial "CTRL-Insert" |
| 134 | syn match helpSpecial "CTRL-Del" |
| 135 | syn match helpSpecial "CTRL-{char}" |
| 136 | syn region helpNotVi start="{Vi[: ]" start="{not" start="{only" end="}" contains=helpLeadBlank,helpHyperTextJump |
| 137 | syn match helpLeadBlank "^\s\+" contained |
| 138 | |
| 139 | " Highlight group items in their own color. |
| 140 | syn match helpComment "\t[* ]Comment\t\+[a-z].*" |
| 141 | syn match helpConstant "\t[* ]Constant\t\+[a-z].*" |
| 142 | syn match helpString "\t[* ]String\t\+[a-z].*" |
| 143 | syn match helpCharacter "\t[* ]Character\t\+[a-z].*" |
| 144 | syn match helpNumber "\t[* ]Number\t\+[a-z].*" |
| 145 | syn match helpBoolean "\t[* ]Boolean\t\+[a-z].*" |
| 146 | syn match helpFloat "\t[* ]Float\t\+[a-z].*" |
| 147 | syn match helpIdentifier "\t[* ]Identifier\t\+[a-z].*" |
| 148 | syn match helpFunction "\t[* ]Function\t\+[a-z].*" |
| 149 | syn match helpStatement "\t[* ]Statement\t\+[a-z].*" |
| 150 | syn match helpConditional "\t[* ]Conditional\t\+[a-z].*" |
| 151 | syn match helpRepeat "\t[* ]Repeat\t\+[a-z].*" |
| 152 | syn match helpLabel "\t[* ]Label\t\+[a-z].*" |
| 153 | syn match helpOperator "\t[* ]Operator\t\+["a-z].*" |
| 154 | syn match helpKeyword "\t[* ]Keyword\t\+[a-z].*" |
| 155 | syn match helpException "\t[* ]Exception\t\+[a-z].*" |
| 156 | syn match helpPreProc "\t[* ]PreProc\t\+[a-z].*" |
| 157 | syn match helpInclude "\t[* ]Include\t\+[a-z].*" |
| 158 | syn match helpDefine "\t[* ]Define\t\+[a-z].*" |
| 159 | syn match helpMacro "\t[* ]Macro\t\+[a-z].*" |
| 160 | syn match helpPreCondit "\t[* ]PreCondit\t\+[a-z].*" |
| 161 | syn match helpType "\t[* ]Type\t\+[a-z].*" |
| 162 | syn match helpStorageClass "\t[* ]StorageClass\t\+[a-z].*" |
| 163 | syn match helpStructure "\t[* ]Structure\t\+[a-z].*" |
| 164 | syn match helpTypedef "\t[* ]Typedef\t\+[Aa-z].*" |
| 165 | syn match helpSpecial "\t[* ]Special\t\+[a-z].*" |
| 166 | syn match helpSpecialChar "\t[* ]SpecialChar\t\+[a-z].*" |
| 167 | syn match helpTag "\t[* ]Tag\t\+[a-z].*" |
| 168 | syn match helpDelimiter "\t[* ]Delimiter\t\+[a-z].*" |
| 169 | syn match helpSpecialComment "\t[* ]SpecialComment\t\+[a-z].*" |
| 170 | syn match helpDebug "\t[* ]Debug\t\+[a-z].*" |
| 171 | syn match helpUnderlined "\t[* ]Underlined\t\+[a-z].*" |
| 172 | syn match helpError "\t[* ]Error\t\+[a-z].*" |
| 173 | syn match helpTodo "\t[* ]Todo\t\+[a-z].*" |
| 174 | |
Milly | 6c2fc37 | 2024-10-16 22:11:17 +0200 | [diff] [blame] | 175 | syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^'" \t<>{}]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^'" \t<>{}]+)[a-zA-Z0-9/]` |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 176 | |
Romain Lafourcade | 124371c | 2024-01-07 15:08:31 +0100 | [diff] [blame] | 177 | syn match helpDiffAdded "\t[* ]Added\t\+[a-z].*" |
| 178 | syn match helpDiffChanged "\t[* ]Changed\t\+[a-z].*" |
| 179 | syn match helpDiffRemoved "\t[* ]Removed\t\+[a-z].*" |
| 180 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 181 | " Additionally load a language-specific syntax file "help_ab.vim". |
Bram Moolenaar | 13fcaaf | 2005-04-15 21:13:42 +0000 | [diff] [blame] | 182 | let s:i = match(expand("%"), '\.\a\ax$') |
| 183 | if s:i > 0 |
| 184 | exe "runtime syntax/help_" . strpart(expand("%"), s:i + 1, 2) . ".vim" |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 185 | endif |
| 186 | |
| 187 | syn sync minlines=40 |
| 188 | |
| 189 | |
| 190 | " Define the default highlighting. |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 191 | " Only used when an item doesn't have highlighting yet |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 192 | hi def link helpIgnore Ignore |
Bram Moolenaar | 3678208 | 2013-11-28 13:53:34 +0100 | [diff] [blame] | 193 | hi def link helpHyperTextJump Identifier |
Bram Moolenaar | 18144c8 | 2006-04-12 21:52:12 +0000 | [diff] [blame] | 194 | hi def link helpBar Ignore |
Bram Moolenaar | fa13eef | 2013-02-06 17:34:04 +0100 | [diff] [blame] | 195 | hi def link helpBacktick Ignore |
Bram Moolenaar | 7fc904b | 2006-04-13 20:37:35 +0000 | [diff] [blame] | 196 | hi def link helpStar Ignore |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 197 | hi def link helpHyperTextEntry String |
| 198 | hi def link helpHeadline Statement |
| 199 | hi def link helpHeader PreProc |
| 200 | hi def link helpSectionDelim PreProc |
| 201 | hi def link helpVim Identifier |
Bram Moolenaar | d38b055 | 2012-04-25 19:07:41 +0200 | [diff] [blame] | 202 | hi def link helpCommand Comment |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 203 | hi def link helpExample Comment |
| 204 | hi def link helpOption Type |
| 205 | hi def link helpNotVi Special |
| 206 | hi def link helpSpecial Special |
| 207 | hi def link helpNote Todo |
Bram Moolenaar | 64d8e25 | 2016-09-06 22:12:34 +0200 | [diff] [blame] | 208 | hi def link helpWarning Todo |
Bram Moolenaar | 3ec574f | 2017-06-13 18:12:01 +0200 | [diff] [blame] | 209 | hi def link helpDeprecated Todo |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 210 | |
Bram Moolenaar | d857f0e | 2005-06-21 22:37:39 +0000 | [diff] [blame] | 211 | hi def link helpComment Comment |
| 212 | hi def link helpConstant Constant |
| 213 | hi def link helpString String |
| 214 | hi def link helpCharacter Character |
| 215 | hi def link helpNumber Number |
| 216 | hi def link helpBoolean Boolean |
| 217 | hi def link helpFloat Float |
| 218 | hi def link helpIdentifier Identifier |
| 219 | hi def link helpFunction Function |
| 220 | hi def link helpStatement Statement |
| 221 | hi def link helpConditional Conditional |
| 222 | hi def link helpRepeat Repeat |
| 223 | hi def link helpLabel Label |
| 224 | hi def link helpOperator Operator |
| 225 | hi def link helpKeyword Keyword |
| 226 | hi def link helpException Exception |
| 227 | hi def link helpPreProc PreProc |
| 228 | hi def link helpInclude Include |
| 229 | hi def link helpDefine Define |
| 230 | hi def link helpMacro Macro |
| 231 | hi def link helpPreCondit PreCondit |
| 232 | hi def link helpType Type |
| 233 | hi def link helpStorageClass StorageClass |
| 234 | hi def link helpStructure Structure |
| 235 | hi def link helpTypedef Typedef |
| 236 | hi def link helpSpecialChar SpecialChar |
| 237 | hi def link helpTag Tag |
| 238 | hi def link helpDelimiter Delimiter |
| 239 | hi def link helpSpecialComment SpecialComment |
| 240 | hi def link helpDebug Debug |
| 241 | hi def link helpUnderlined Underlined |
| 242 | hi def link helpError Error |
| 243 | hi def link helpTodo Todo |
Bram Moolenaar | e344bea | 2005-09-01 20:46:49 +0000 | [diff] [blame] | 244 | hi def link helpURL String |
Romain Lafourcade | 124371c | 2024-01-07 15:08:31 +0100 | [diff] [blame] | 245 | hi def link helpDiffAdded Added |
| 246 | hi def link helpDiffChanged Changed |
| 247 | hi def link helpDiffRemoved Removed |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 248 | |
Bram Moolenaar | 2d8ed02 | 2022-05-21 13:08:16 +0100 | [diff] [blame] | 249 | if has('textprop') && expand('%:p') =~ '[/\\]doc[/\\]syntax.txt' |
Bram Moolenaar | d899e51 | 2022-05-07 21:54:03 +0100 | [diff] [blame] | 250 | " highlight groups with their respective color |
| 251 | import 'dist/vimhelp.vim' |
| 252 | call vimhelp.HighlightGroups() |
| 253 | endif |
| 254 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 255 | let b:current_syntax = "help" |
| 256 | |
Bram Moolenaar | 6ee8d89 | 2012-01-10 14:55:01 +0100 | [diff] [blame] | 257 | let &cpo = s:cpo_save |
| 258 | unlet s:cpo_save |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 259 | " vim: ts=8 sw=2 |