This repository contains a syntax highlighting definition for .yuck files to be used with the micro text editor.
To install the syntax highlighting for .yuck files, follow these steps:
- Clone this repository or download the
yuck.yamlfile directly. - Create a
syntaxdirectory in your micro configuration directory if it doesn't already exist. You can find your configuration directory by runningmicro -versionand looking for theCONFIG DIRpath. - Copy the
yuck.yamlfile into the~/.config/micro/syntaxdirectory. - Restart micro or open a new instance of micro to begin using the syntax highlighting for
.yuckfiles.
The yuck.yaml syntax file provides highlighting for:
- Comments
- Keywords (e.g.,
defwidget,defwindow,defpoll, etc.) - Boolean literals (
true,false) - Numeric literals
- Variable names (colon-prefixed)
- String literals (with support for escape sequences)
- Brackets and braces for lists, arrays, or blocks