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.yaml
file directly. - Create a
syntax
directory in your micro configuration directory if it doesn't already exist. You can find your configuration directory by runningmicro -version
and looking for theCONFIG DIR
path. - Copy the
yuck.yaml
file into the~/.config/micro/syntax
directory. - Restart micro or open a new instance of micro to begin using the syntax highlighting for
.yuck
files.
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