From cddf79608fed7d66caccfe4178b7a80fd1923e91 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Wed, 13 Dec 2023 13:06:38 +0100 Subject: [PATCH] Update vim syntax file: include all alias names for keywords Get also rid of unnecessary repetitions --- tools/input_editing/vim/vim.xsl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/input_editing/vim/vim.xsl b/tools/input_editing/vim/vim.xsl index d5800b3ec6..998553983b 100644 --- a/tools/input_editing/vim/vim.xsl +++ b/tools/input_editing/vim/vim.xsl @@ -80,12 +80,22 @@ syn match cp2kBegSection '^\s*&\w\+' contains=cp2kSection syn match cp2kEndSection '^\s*&END\s*\w\+' contains=cp2kSection "----------------------------------------------------------------/ -" CP2K keywords +" CP2K default keyword names "----------------------------------------------------------------/ -syn keyword cp2kKeyword +syn keyword cp2kKeyword + + + +"----------------------------------------------------------------/ +" CP2K alias keyword names +"----------------------------------------------------------------/ + + + +syn keyword cp2kKeyword