view runtime/syntax/editorconfig.vim @ 33971:807ee2d19caf

runtime(tmux): Update tmux syntax rules (#13708) Commit: https://github.com/vim/vim/commit/b42703a662e87ef0ab643f417869851f065eaac4 Author: Eric Pruitt <eric.pruitt@gmail.com> Date: Mon Dec 18 00:03:40 2023 -0800 runtime(tmux): Update tmux syntax rules (https://github.com/vim/vim/issues/13708) Signed-off-by: Eric Pruitt <eric.pruitt@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 18 Dec 2023 09:15:05 +0100
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'