Currently, the search procedure for Definitions is:
- $XDG_DATA_HOME/org.kde.syntax-highlighting/syntax
- {$XDG_DATA_DIRS}/org.kde.syntax-highlighting/syntax // possibly many
- $XDG_DATA_HOME/katepart5/syntax
- {$XDG_DATA_DIRS}/katepart5/syntax // possibly many
- Qt resource: ":/org.kde.syntax-highlighting/syntax".
- all paths added with addCustomSearchPath()/syntax
Duplicate entries are compared through the version number.
The same applies to the Themes:
- $XDG_DATA_HOME/org.kde.syntax-highlighting/themes
- {$XDG_DATA_DIRS}/org.kde.syntax-highlighting/themes // possibly many
- Qt resource: ":/org.kde.syntax-highlighting/themes".
- all paths added with addCustomSearchPath()/themes