User forums > Help
Lexer
(1/1)
moloh:
Hello!
Next annoying question. I want to modify C/C++ lexer. How can i add user keywords?
Should i modify globallexer xml files?
If this is possible to have lexer files in home directory as i don't want to modify global files managed by Portage?
thomas:
You can modify the lexer file, but it is also possible to add keywords from the editor settings dialog.
The former is kind of "permanent" insofar as it will be the default, the latter is saved in your config file, i.e. it depends on the current user.
Either works.
Navigation
[0] Message Index
Go to full version