diff options
author | 2022-02-04 01:32:41 +0800 | |
---|---|---|
committer | 2022-05-02 21:06:37 +0200 | |
commit | 2b77af2d85b1bdc8d78f65f41d6673c240bbc7a1 (patch) | |
tree | bfee704c988de09246db79c352d20e706c8cb6c3 | |
parent | newebuild: move EAPI guard outside inherit guard (diff) | |
download | gentoo-syntax-2b77af2d85b1bdc8d78f65f41d6673c240bbc7a1.tar.gz gentoo-syntax-2b77af2d85b1bdc8d78f65f41d6673c240bbc7a1.tar.bz2 gentoo-syntax-2b77af2d85b1bdc8d78f65f41d6673c240bbc7a1.zip |
make.conf: add loong/~loong to recognized keywordsv2
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Closes: https://github.com/gentoo/gentoo-syntax/pull/40
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | syntax/gentoo-make-conf.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/gentoo-make-conf.vim b/syntax/gentoo-make-conf.vim index b37dee3..80171f0 100644 --- a/syntax/gentoo-make-conf.vim +++ b/syntax/gentoo-make-conf.vim @@ -71,8 +71,8 @@ syn match GentooMakeConfEAKE /=/ contained nextgroup=GentooMakeConfEAKV skipwh syn cluster GentooMakeConfEAKIC add=GentooMakeConfEAKIS,GentooMakeConfEAKIU,GentooMakeConfEAKIB,GentooMakeConfEAKIX syn region GentooMakeConfEAKV contained start=/"/ end=/"/ contains=@GentooMakeConfEAKIC " do not change keyword order! -syn match GentooMakeConfEAKIS /alpha\|amd64\|amd64-fbsd\|amd64-linux\|arm\|arm64\|arm64-linux\|arm-linux\|hppa\|ia64\|m68k\|m68k-mint\|mips\|ppc\|ppc64\|ppc64-linux\|ppc-aix\|ppc-macos\|riscv\|s390\|sh\|sparc\|sparc64-solaris\|sparc-solaris\|x64-cygwin\|x64-macos\|x64-solaris\|x86\|x86-cygwin\|x86-fbsd\|x86-linux\|x86-macos\|x86-solaris\|x86-winnt/ contained -syn match GentooMakeConfEAKIU /\~\(alpha\|amd64\|amd64-fbsd\|amd64-linux\|arm\|arm64\|arm64-linux\|arm-linux\|hppa\|ia64\|m68k\|m68k-mint\|mips\|ppc\|ppc64\|ppc64-linux\|ppc-aix\|ppc-macos\|riscv\|s390\|sh\|sparc\|sparc64-solaris\|sparc-solaris\|x64-cygwin\|x64-macos\|x64-solaris\|x86\|x86-cygwin\|x86-fbsd\|x86-linux\|x86-macos\|x86-solaris\|x86-winnt\)/ contained +syn match GentooMakeConfEAKIS /alpha\|amd64\|amd64-fbsd\|amd64-linux\|arm\|arm64\|arm64-linux\|arm-linux\|hppa\|ia64\|loong\|m68k\|m68k-mint\|mips\|ppc\|ppc64\|ppc64-linux\|ppc-aix\|ppc-macos\|riscv\|s390\|sh\|sparc\|sparc64-solaris\|sparc-solaris\|x64-cygwin\|x64-macos\|x64-solaris\|x86\|x86-cygwin\|x86-fbsd\|x86-linux\|x86-macos\|x86-solaris\|x86-winnt/ contained +syn match GentooMakeConfEAKIU /\~\(alpha\|amd64\|amd64-fbsd\|amd64-linux\|arm\|arm64\|arm64-linux\|arm-linux\|hppa\|ia64\|loong\|m68k\|m68k-mint\|mips\|ppc\|ppc64\|ppc64-linux\|ppc-aix\|ppc-macos\|riscv\|s390\|sh\|sparc\|sparc64-solaris\|sparc-solaris\|x64-cygwin\|x64-macos\|x64-solaris\|x86\|x86-cygwin\|x86-fbsd\|x86-linux\|x86-macos\|x86-solaris\|x86-winnt\)/ contained syn match GentooMakeConfEAKIB /-[a-zA-Z0-9\-\_]\+/ contained syn match GentooMakeConfEAKIX /\\.\|\$\({[^}]\+}\|[a-zA-Z0-9\-\_]\+\)/ contained |