Skip to content

micro-garden/gtypist-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNU Typist Syntax Plugin for Micro

Syntax highlighting for GNU Typist lesson files (.typ) in the micro text editor.

See help/gtypistsyntax.md for more details.

Installation

Option 1: Install as a plugin

Place the plugin folder in ~/.config/micro/plug/gtypistsyntax/, or clone it directly from the GitHub repository:

mkdir -p ~/.config/micro/plug
git clone https://github.com/micro-garden/gtypist-syntax ~/.config/micro/plug/gtypistsyntax

Then restart micro.

Alternatively, this plugin is also available through the unofficial plugin channel:
https://github.com/akikareha/micro-unofficial-plugin-channel
You can install it by adding the channel and then using plugin install.

Option 2: Use the syntax file only

If you prefer not to install the entire plugin, you can copy the syntax file directly:

mkdir -p ~/.config/micro/syntax
cp syntax/gtypist.yaml ~/.config/micro/syntax/

This will work even without installing the plugin.

License

MIT.

Author

Aki Kareha ([email protected])