annotate runtime/syntax/pamenv.vim @ 27488:07da466dcf6d v8.2.4272

patch 8.2.4272: Vim9 expr test fails without the channel feature Commit: https://github.com/vim/vim/commit/eb6c2765959c91ddbb527f96f91ba5be199b8d41 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 31 13:36:36 2022 +0000 patch 8.2.4272: Vim9 expr test fails without the channel feature Problem: Vim9 expr test fails without the channel feature. (Dominique Pell?) Solution: Remove "g:" before "CheckFeature". (closes #9671)
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 Jan 2022 14:45:04 +0100
parents 7f88f6a3ed4c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: pam_env.conf(5) configuration file
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Latest Revision: 2020-05-10
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 if exists("b:current_syntax")
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 finish
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 endif
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 syn keyword pamenvTodo contained TODO FIXME XXX NOTE
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 syn region pamenvComment start='^#' end='$' display oneline contains=pamenvTodo,@Spells
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 syn match pamenvVars '^[A-Z_][A-Z_0-9]*' nextgroup=pamenvKeywords skipwhite
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 syn keyword pamenvKeywords contained DEFAULT OVERRIDE nextgroup=pamenvVarEq
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 syn match pamenvVarEq contained '=' nextgroup=pamenvValue,pamenvValueWithQuote
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 syn match pamenvValue contained '[^ \t]*' skipwhite nextgroup=pamenvKeywords
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 syn region pamenvValueWithQuote contained start='"' end='"' skipwhite nextgroup=pamenvKeywords
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 hi def link pamenvTodo Todo
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 hi def link pamenvComment Comment
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 hi def link pamenvKeywords Keyword
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 hi def link pamenvVars Identifier
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 hi def link pamenvValue String
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 hi def link pamenvValueWithQuote String
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 let b:current_syntax = "pamenv"