codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: PyPA manifest3" Maintainer: ObserverOfTime <chronobserver@disroot.org>4" Filenames: MANIFEST.in5" Last Change: 2023 Aug 126 7if exists('b:current_syntax')8 finish9endif10 11let s:cpo_save = &cpoptions12set cpoptions&vim13 14syn iskeyword @,-15 16" Comments17syn keyword pymanifestTodo contained TODO FIXME XXX18syn match pymanifestComment /\\\@1<!#.*/ contains=pymanifestTodo19 20" Commands21syn keyword pymanifestCommand22 \ include exclude23 \ recursive-include recursive-exclude24 \ global-include global-exclude25 \ graft prune26 27" Globs & character ranges28syn match pymanifestGlob /\*\|\*\*\|?/29syn match pymanifestRange /\\\@1<!\[.\{-}\]/30 31" Line break32syn match pymanifestLinebreak /\\$\|\\\ze\s\+#/33 34hi def link pymanifestCommand Keyword35hi def link pymanifestComment Comment36hi def link pymanifestGlob SpecialChar37hi def link pymanifestLinebreak SpecialKey38hi def link pymanifestRange Special39hi def link pymanifestTodo Todo40 41let b:current_syntax = 'pymanifest'42 43let &cpoptions = s:cpo_save44unlet s:cpo_save45 