view runtime/syntax/editorconfig.vim @ 32041:7aeaf20e2ba5 v9.0.1352

patch 9.0.1352: "ignore" files are outdated Commit: https://github.com/vim/vim/commit/a63fd8232895bbf6751087d90fd15c8ea45f1cf0 Author: K.Takata <kentkt@csc.jp> Date: Fri Feb 24 17:16:41 2023 +0000 patch 9.0.1352: "ignore" files are outdated Problem: "ignore" files are outdated. Solution: Update "ignore" files. (Ken Takata, closes https://github.com/vim/vim/issues/12056)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Feb 2023 18:30:04 +0100
parents 5ed19049b1e8
children 31b68cad57cc
line wrap: on
line source

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

if exists('b:current_syntax')
  finish
endif

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

syntax match editorconfigUnknownProperty "^\s*\zs\w\+\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'