codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: Makeindex style file, *.ist3" Maintainer: Peter Meszaros <pmeszaros@effice.hu>4" Last Change: 2012 Jan 08 by Thilo Six5 6" quit when a syntax file was already loaded7if exists("b:current_syntax")8 finish9endif10 11let s:cpo_save = &cpo12set cpo&vim13 14setlocal iskeyword=$,@,48-57,_15 16syn case ignore17syn keyword IstInpSpec actual arg_close arg_open encap escape18syn keyword IstInpSpec keyword level quote range_close range_open19syn keyword IstInpSpec page_compositor20 21syn keyword IstOutSpec preamble postamble setpage_prefix setpage_suffix group_skip22syn keyword IstOutSpec headings_flag heading_prefix heading_suffix23syn keyword IstOutSpec lethead_flag lethead_prefix lethead_suffix24syn keyword IstOutSpec symhead_positive symhead_negative numhead_positive numhead_negative25syn keyword IstOutSpec item_0 item_1 item_2 item_0126syn keyword IstOutSpec item_x1 item_12 item_x227syn keyword IstOutSpec delim_0 delim_1 delim_228syn keyword IstOutSpec delim_n delim_r delim_t29syn keyword IstOutSpec encap_prefix encap_infix encap_suffix30syn keyword IstOutSpec line_max indent_space indent_length31syn keyword IstOutSpec suffix_2p suffix_3p suffix_mp32 33syn region IstString matchgroup=IstDoubleQuote start=+"+ skip=+\\"+ end=+"+ contains=IstSpecial34syn match IstCharacter "'.'"35syn match IstNumber "\d\+"36syn match IstComment "^[\t ]*%.*$" contains=IstTodo37syn match IstSpecial "\\\\\|{\|}\|#\|\\n" contained38syn match IstTodo "DEBUG\|TODO" contained39 40" Define the default highlighting.41" Only when an item doesn't have highlighting yet42 43hi def link IstInpSpec Type44hi def link IstOutSpec Identifier45hi def link IstString String46hi def link IstNumber Number47hi def link IstComment Comment48hi def link IstTodo Todo49hi def link IstSpecial Special50hi def link IstDoubleQuote Label51hi def link IstCharacter Label52 53 54let b:current_syntax = "ist"55 56let &cpo = s:cpo_save57unlet s:cpo_save58" vim: ts=8 sw=259 