listings and I want to extend a language with additional keywords for highlightning. I know there is an option
morekeywords available, but that only works for a particular
lstset declaration and I don't want to have to copy-paste all keywords into all listings. I've tried declaring the keywords as part of a command but that doesn't work (probably because the command is not expanded and I don't know how to fix that).
So is there any way of declaring a new language by copying an existing one and just adding more keywords?