annotate runtime/syntax/editorconfig.vim @ 31722:6fa4f94aca5a v9.0.1193

patch 9.0.1193: cannot map <Esc> when using the Kitty key protocol Commit: https://github.com/vim/vim/commit/32030a9f3be25e1343ef15028511614fb4c20e9f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 13 18:46:57 2023 +0000 patch 9.0.1193: cannot map <Esc> when using the Kitty key protocol Problem: Cannot map <Esc> when using the Kitty key protocol. Solution: Add a non-simplified mapping for K_ESC. (closes https://github.com/vim/vim/issues/11811)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Jan 2023 20:00:02 +0100
parents 5ed19049b1e8
children 31b68cad57cc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31671
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: EditorConfig
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Gregory Anders <greg@gpanders.com>
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2023-01-03
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists('b:current_syntax')
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 runtime! syntax/dosini.vim
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 unlet! b:current_syntax
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 syntax match editorconfigUnknownProperty "^\s*\zs\w\+\ze\s*="
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 syntax keyword editorconfigProperty root charset end_of_line indent_style
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 syntax keyword editorconfigProperty indent_size tab_width max_line_length
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 syntax keyword editorconfigProperty trim_trailing_whitespace insert_final_newline
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 hi def link editorconfigProperty dosiniLabel
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
5ed19049b1e8 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 let b:current_syntax = 'editorconfig'