view runtime/syntax/editorconfig.vim @ 32955:2cbc8ebb8de5

runtime(gp): update gp.vim syntax file for the GP language (version 2.15) (#12884) Commit: https://github.com/vim/vim/commit/c6d533b0ad565a610a48386b0ad72cc591010fcb Author: Karim Belabas <Karim.belabas@math.u-bordeaux.fr> Date: Tue Aug 22 20:25:06 2023 +0200 runtime(gp): update gp.vim syntax file for the GP language (version 2.15) (https://github.com/vim/vim/issues/12884) - add missing defaults - add missing control structures (incl. parallelism) - add missing scope declarations - whitespace edits (remove extra tabs)
author Christian Brabandt <cb@256bit.org>
date Tue, 22 Aug 2023 20:30:04 +0200
parents 31b68cad57cc
children
line wrap: on
line source

" Vim syntax file
" Language:     EditorConfig
" Maintainer:   Gregory Anders <greg@gpanders.com>
" Last Change:  2023-07-20

if exists('b:current_syntax')
  finish
endif

runtime! syntax/dosini.vim
unlet! b:current_syntax

syntax match editorconfigUnknownProperty "^\s*\zs[a-zA-Z0-9_-]\+\ze\s*="

syntax keyword editorconfigProperty root charset end_of_line indent_style
syntax keyword editorconfigProperty indent_size tab_width max_line_length
syntax keyword editorconfigProperty trim_trailing_whitespace insert_final_newline

hi def link editorconfigProperty dosiniLabel

let b:current_syntax = 'editorconfig'