Skip to content

Editing and syntax highlighting support for KDL in the Kate text editor.

License

Notifications You must be signed in to change notification settings

larsgw/katepart-kdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KDL for Kate

This extension provides editing and syntax highlighting support for KDL, an XML-like document language, to the Kate text editor and the KDE/KatePart Syntax Highlighting Engine.

Syntax highlighted version of example.kdl

See docs/example.kdl.

Installation

  • Identify the directory in which custom syntax highlighting files are located. See the corresponding section of Chapter 6 of The KatePart Handbook. On Linux this is usually $HOME/.local/share/org.kde.syntax-highlighting/syntax/.

  • Download kdl.xml and copy it into the aformentioned directory.

  • Restart Kate. Alternatively, press F7, type reload-highlighting, and press enter.

Limitations

  • Property keys are highlighted as string values if the equals sign appears on a different line, or if the equals sign is preceded by a nested /**/ comment.
  • Mandatory whitespace between values is not checked.
  • Whitespace requirements of multiline strings are not checked.

About

Editing and syntax highlighting support for KDL in the Kate text editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published