This repository contains a plugin that demonstrates how errors and warnings could be added as annotations to the Xi Editor.
An "error" annotation is added to every ninth line of any open document, and a "warning" annotation is added to every fifth line of any open document (unless there is already an "error" notification").
It is based off of the template found here.
Either
run make install
or
move the compiled binary and manifest.toml
to a directory located in
$XI_CONFIG_DIR/plugins
. Within that directory, the binary should be placed
in a bin/
subdirectory.