Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pacmanlog.vim49 linesDownload Raw Back to syntax
1" Vim syntax file2" Language: pacman.log3" Maintainer: Ronan Pigott <ronan@rjp.ie>4" Last Change: 2023 Dec 045" 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121)6 7if exists("b:current_syntax")8  finish9endif10 11let s:cpo_save = &cpo12set cpo&vim13 14syn sync maxlines=115syn region pacmanlogMsg start='\S' end='$' keepend contains=pacmanlogTransaction,pacmanlogALPMMsg16syn region pacmanlogTag start='\['hs=s+1 end='\]'he=e-1 keepend nextgroup=pacmanlogMsg17syn region pacmanlogTime start='^\['hs=s+1 end='\]'he=e-1 keepend nextgroup=pacmanlogTag18 19syn match pacmanlogPackageName '\v[a-z0-9@_+.-]+' contained skipwhite nextgroup=pacmanlogPackageVersion20syn match pacmanlogPackageVersion '(.*)' contained21 22syn match pacmanlogTransaction 'transaction \v(started|completed)$' contained23syn match pacmanlogInstalled   '\v(re)?installed' contained nextgroup=pacmanlogPackageName24syn match pacmanlogUpgraded    'upgraded'         contained nextgroup=pacmanlogPackageName25syn match pacmanlogDowngraded  'downgraded'       contained nextgroup=pacmanlogPackageName26syn match pacmanlogRemoved     'removed'          contained nextgroup=pacmanlogPackageName27syn match pacmanlogWarning     'warning:.*$'      contained28 29syn region pacmanlogALPMMsg start='\v(\[ALPM\] )@<=(transaction|(re)?installed|upgraded|downgraded|removed|warning)>' end='$' contained30	\ contains=pacmanlogTransaction,pacmanlogInstalled,pacmanlogUpgraded,pacmanlogDowngraded,pacmanlogRemoved,pacmanlogWarning,pacmanlogPackageName,pacmanlogPackgeVersion31 32hi def link pacmanlogTime String33hi def link pacmanlogTag  Type34 35hi def link pacmanlogTransaction Special36hi def link pacmanlogInstalled   Identifier37hi def link pacmanlogRemoved     Repeat38hi def link pacmanlogUpgraded    pacmanlogInstalled39hi def link pacmanlogDowngraded  pacmanlogRemoved40hi def link pacmanlogWarning     WarningMsg41 42hi def link pacmanlogPackageName    Normal43hi def link pacmanlogPackageVersion Comment44 45let b:current_syntax = "pacmanlog"46 47let &cpo = s:cpo_save48unlet s:cpo_save49 
codekingpro/portable-devtools · Team Ai