Mercurial > vim
view runtime/syntax/conf.vim @ 10960:d7b78cbf85e4 v8.0.0369
patch 8.0.0369: a few options are not defined, depending on features
commit https://github.com/vim/vim/commit/c43a8b8de0676caf8a460b6af1310d7aba8221bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 25 21:12:29 2017 +0100
patch 8.0.0369: a few options are not defined, depending on features
Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
not defined without the +balloon_eval feature. Testing that an
option value fails does not work for unsupported options.
Solution: Make the options defined but not supported. Don't test if
setting unsupported options fails.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 Feb 2017 21:15:03 +0100 |
parents | 7033303ea0c0 |
children | e3ec2ec8841a |
line wrap: on
line source
" Vim syntax file " Language: generic configure file " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Jun 20 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif syn keyword confTodo contained TODO FIXME XXX " Avoid matching "text#text", used in /etc/disktab and /etc/gettytab syn match confComment "^#.*" contains=confTodo syn match confComment "\s#.*"ms=s+1 contains=confTodo syn region confString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline syn region confString start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline " Define the default highlighting. " Only used when an item doesn't have highlighting yet hi def link confComment Comment hi def link confTodo Todo hi def link confString String let b:current_syntax = "conf" " vim: ts=8 sw=2