Mercurial > vim
view runtime/syntax/gitconfig.vim @ 32922:397ff3169248 v9.0.1769
patch 9.0.1769: executable() ignoring symlinks on Windows
Commit: https://github.com/vim/vim/commit/f5d0f54790fa86dfe73b428a087c8d8e6f391857
Author: AmberArr <me@frost.moe>
Date: Sun Aug 20 20:03:45 2023 +0200
patch 9.0.1769: executable() ignoring symlinks on Windows
Problem: executable() ignoring symlinks on Windows
Solution: resolve reparse points
closes: #12562
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: AmberArr <me@frost.moe>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 20 Aug 2023 20:15:04 +0200 |
parents | 5c40013d45ee |
children |
line wrap: on
line source
" Vim syntax file " Language: git config file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " Filenames: gitconfig, .gitconfig, *.git/config " Last Change: 2019 Dec 05 if exists("b:current_syntax") finish endif syn case ignore syn sync minlines=10 syn match gitconfigComment "[#;].*" contains=@Spell syn match gitconfigSection "\%(^\s*\)\@<=\[[a-z0-9.-]\+\]" syn match gitconfigSection '\%(^\s*\)\@<=\[[a-z0-9.-]\+ \+\"\%([^\\"]\|\\.\)*"\]' syn match gitconfigVariable "\%(^\s*\)\@<=\a[a-z0-9-]*\%(\s*\%([=#;]\|$\)\)\@=" nextgroup=gitconfigAssignment skipwhite syn region gitconfigAssignment matchgroup=gitconfigNone start=+=\s*+ skip=+\\+ end=+\s*$+ contained contains=gitconfigBoolean,gitconfigNumber,gitConfigString,gitConfigEscape,gitConfigError,gitconfigComment keepend syn keyword gitconfigBoolean true false yes no contained syn match gitconfigNumber "\<\d\+\>" contained syn region gitconfigString matchgroup=gitconfigDelim start=+"+ skip=+\\+ end=+"+ matchgroup=gitconfigError end=+[^\\"]\%#\@!$+ contained contains=gitconfigEscape,gitconfigEscapeError syn match gitconfigError +\\.+ contained syn match gitconfigEscape +\\[\\"ntb]+ contained syn match gitconfigEscape +\\$+ contained hi def link gitconfigComment Comment hi def link gitconfigSection Keyword hi def link gitconfigVariable Identifier hi def link gitconfigBoolean Boolean hi def link gitconfigNumber Number hi def link gitconfigString String hi def link gitconfigDelim Delimiter hi def link gitconfigEscape Special hi def link gitconfigError Error let b:current_syntax = "gitconfig"