Open exot opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bump to make stale-bot happy.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In
plantuml-mode
, initialization of the font locking regular expressions is done by asking the current version of plantuml for its supported keywords, builtins, etc. Every so often, this might fail for any reason, leaving the current Emacs session with invalid font lock information for plantuml. Redoing the initialization process is tedious, as the corresponding functionplantuml-init-once
does not allow for that to be done easily (one would have to undefine a lot of global variables to do so).This commit introduces a force parameter for
plantuml-init-once
to conduct reinitialization of all font lock information. It also moves regular expressions meant for indentation out ofplantuml-init-once
, as those are initialized by literal values that do not depend on any runtime information.