Mercurial > vim
comparison runtime/syntax/spec.vim @ 32974:d46f974fd69e
runtime: Fix typos in various files
Commit: https://github.com/vim/vim/commit/3fc7a7e44abda6505ccd39a6d067db6e5173cbf6
Author: Viktor Sz?pe <viktor@szepe.net>
Date: Wed Aug 23 21:20:00 2023 +0200
runtime: Fix typos in various files
closes: https://github.com/vim/vim/issues/12836
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Viktor Sz?pe <viktor@szepe.net>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 24 Aug 2023 07:33:27 +0200 |
parents | 74e3316c1d5a |
children | 2afcbf1f037c |
comparison
equal
deleted
inserted
replaced
32973:3c2cb52444e9 | 32974:d46f974fd69e |
---|---|
54 syn match specListedFilesDoc contained '/\(man\d*\|doc\|info\)\>' | 54 syn match specListedFilesDoc contained '/\(man\d*\|doc\|info\)\>' |
55 syn match specListedFilesEtc contained '/etc/'me=e-1 | 55 syn match specListedFilesEtc contained '/etc/'me=e-1 |
56 syn match specListedFilesShare contained '/share/'me=e-1 | 56 syn match specListedFilesShare contained '/share/'me=e-1 |
57 syn cluster specListedFiles contains=specListedFilesBin,specListedFilesLib,specListedFilesDoc,specListedFilesEtc,specListedFilesShare,specListedFilesPrefix,specVariables,specSpecialChar | 57 syn cluster specListedFiles contains=specListedFilesBin,specListedFilesLib,specListedFilesDoc,specListedFilesEtc,specListedFilesShare,specListedFilesPrefix,specVariables,specSpecialChar |
58 | 58 |
59 "specComands | 59 "specCommands |
60 syn match specConfigure contained '\./configure' | 60 syn match specConfigure contained '\./configure' |
61 syn match specTarCommand contained '\<tar\s\+[cxvpzIf]\{,5}\s*' | 61 syn match specTarCommand contained '\<tar\s\+[cxvpzIf]\{,5}\s*' |
62 syn keyword specCommandSpecial contained root | 62 syn keyword specCommandSpecial contained root |
63 syn keyword specCommand contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch | 63 syn keyword specCommand contained make xmkmf mkdir chmod ln find sed rm strip moc echo grep ls rm mv mkdir install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch |
64 syn cluster specCommands contains=specCommand,specTarCommand,specConfigure,specCommandSpecial | 64 syn cluster specCommands contains=specCommand,specTarCommand,specConfigure,specCommandSpecial |
85 | 85 |
86 "%% Files Section %% | 86 "%% Files Section %% |
87 "TODO %config valid parameters: missingok\|noreplace | 87 "TODO %config valid parameters: missingok\|noreplace |
88 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\) | 88 "TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\) |
89 syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier | 89 syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective,@specListedFiles,specComment,specCommandSpecial,specMacroIdentifier |
90 "tip: remember to include new itens in specFilesArea above | 90 "tip: remember to include new items in specFilesArea above |
91 syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>' | 91 syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|license\|verify\|ghost\|exclude\)\>' |
92 | 92 |
93 "valid options for certain section headers | 93 "valid options for certain section headers |
94 syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1 | 94 syn match specDescriptionOpts contained '\s-[ln]\s*\a'ms=s+1,me=e-1 |
95 syn match specPackageOpts contained '\s-n\s*\w'ms=s+1,me=e-1 | 95 syn match specPackageOpts contained '\s-n\s*\w'ms=s+1,me=e-1 |