/usr/share/vim/addons/syntax/augeas.vim is in augeas-doc 1.4.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | " Vim syntax file
" Language: Augeas
" Version: 1.0
" $Id$
" Maintainer: Bruno Cornec <bruno@project-builder.org>
" Contributors:
" Raphaƫl Pinson <raphink@gmail.com>
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case ignore
syn sync lines=250
syn keyword augeasStatement module let incl transform autoload in rec
syn keyword augeasTestStatement test get after put insa insb set rm
syn keyword augeasTodo contained TODO FIXME XXX DEBUG NOTE
if exists("augeas_symbol_operator")
syn match augeasSymbolOperator "[+\-/*=]"
syn match augeasSymbolOperator "[<>]=\="
syn match augeasSymbolOperator "<>"
syn match augeasSymbolOperator ":="
syn match augeasSymbolOperator "[()]"
syn match augeasSymbolOperator "\.\."
syn match augeasSymbolOperator "[\^.]"
syn match augeasMatrixDelimiter "[][]"
"if you prefer you can highlight the range
"syn match augeasMatrixDelimiter "[\d\+\.\.\d\+]"
endif
if exists("augeas_no_tabs")
syn match augeasShowTab "\t"
endif
syn region augeasComment start="(\*" end="\*)" contains=augeasTodo,augeasSpaceError
if !exists("augeas_no_functions")
" functions
syn keyword augeasLabel del key store label value square seq
syn keyword augeasFunction Util Build Rx Sep Quote
endif
syn region augeasRegexp start="/" end="[^\\]/"
syn region augeasString start=+"+ end=+"+ skip=+\\"+
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
" For version 5.8 and later: only when an item doesn't have highlighting yet
if version >= 508 || !exists("did_augeas_syn_inits")
if version < 508
let did_augeas_syn_inits = 1
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink augeasAcces augeasStatement
HiLink augeasBoolean Boolean
HiLink augeasComment Comment
HiLink augeasConditional Conditional
HiLink augeasConstant Constant
HiLink augeasDelimiter Identifier
HiLink augeasDirective augeasStatement
HiLink augeasException Exception
HiLink augeasFloat Float
HiLink augeasFunction Function
HiLink augeasLabel Label
HiLink augeasMatrixDelimiter Identifier
HiLink augeasModifier Type
HiLink augeasNumber Number
HiLink augeasOperator Operator
HiLink augeasPredefined augeasStatement
HiLink augeasPreProc PreProc
HiLink augeasRepeat Repeat
HiLink augeasSpaceError Error
HiLink augeasStatement Statement
HiLink augeasString String
HiLink augeasStringEscape Special
HiLink augeasStringEscapeGPC Special
HiLink augeasRegexp Special
HiLink augeasStringError Error
HiLink augeasStruct augeasStatement
HiLink augeasSymbolOperator augeasOperator
HiLink augeasTestStatement augeasStatement
HiLink augeasTodo Todo
HiLink augeasType Type
HiLink augeasUnclassified augeasStatement
" HiLink augeasAsm Assembler
HiLink augeasError Error
HiLink augeasAsmKey augeasStatement
HiLink augeasShowTab Error
delcommand HiLink
endif
let b:current_syntax = "augeas"
" vim: ts=8 sw=2
|