Mercurial > vim
view runtime/syntax/services.vim @ 11657:a7cd2a53590c v8.0.0711
patch 8.0.0711: cannot build without the wildmenu feature
commit https://github.com/vim/vim/commit/85dad2c815aaef69aa948fb17874b3825dd72def
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 12 21:12:43 2017 +0200
patch 8.0.0711: cannot build without the wildmenu feature
Problem: Cannot build without the wildmenu feature.
Solution: Add #ifdef
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 12 Jul 2017 21:15:03 +0200 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim syntax file " Language: services(5) - Internet network services list " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 if exists("b:current_syntax") finish endif let s:cpo_save = &cpo set cpo&vim syn match servicesBegin display '^' \ nextgroup=servicesName,servicesComment syn match servicesName contained display '[[:graph:]]\+' \ nextgroup=servicesPort skipwhite syn match servicesPort contained display '\d\+' \ nextgroup=servicesPPDiv,servicesPPDivDepr \ skipwhite syn match servicesPPDiv contained display '/' \ nextgroup=servicesProtocol skipwhite syn match servicesPPDivDepr contained display ',' \ nextgroup=servicesProtocol skipwhite syn match servicesProtocol contained display '\S\+' \ nextgroup=servicesAliases,servicesComment \ skipwhite syn match servicesAliases contained display '\S\+' \ nextgroup=servicesAliases,servicesComment \ skipwhite syn keyword servicesTodo contained TODO FIXME XXX NOTE syn region servicesComment display oneline start='#' end='$' \ contains=servicesTodo,@Spell hi def link servicesTodo Todo hi def link servicesComment Comment hi def link servicesName Identifier hi def link servicesPort Number hi def link servicesPPDiv Delimiter hi def link servicesPPDivDepr Error hi def link servicesProtocol Type hi def link servicesAliases Macro let b:current_syntax = "services" let &cpo = s:cpo_save unlet s:cpo_save