Mercurial > vim
diff runtime/syntax/gitconfig.vim @ 18186:03b854983b14
Update runtime files.
Commit: https://github.com/vim/vim/commit/5be4ceecea5520265066eac972460ebb1cdf05e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 19:34:08 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 19:45:06 +0200 |
parents | f7579a31705c |
children | 5c40013d45ee |
line wrap: on
line diff
--- a/runtime/syntax/gitconfig.vim +++ b/runtime/syntax/gitconfig.vim @@ -2,7 +2,7 @@ " Language: git config file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " Filenames: gitconfig, .gitconfig, *.git/config -" Last Change: 2010 May 21 +" Last Change: 2019 Sep 27 if exists("b:current_syntax") finish @@ -13,7 +13,7 @@ setlocal iskeyword-=_ syn case ignore syn sync minlines=10 -syn match gitconfigComment "[#;].*" +syn match gitconfigComment "[#;].*" contains=@Spell syn match gitconfigSection "\%(^\s*\)\@<=\[[a-z0-9.-]\+\]" syn match gitconfigSection '\%(^\s*\)\@<=\[[a-z0-9.-]\+ \+\"\%([^\\"]\|\\.\)*"\]' syn match gitconfigVariable "\%(^\s*\)\@<=\a\k*\%(\s*\%([=#;]\|$\)\)\@=" nextgroup=gitconfigAssignment skipwhite