So here it is: To install just extract archive to ~/.local/share/gtksourceview-3.0/language-specs directory.
Adapted for Context Free 3 and gedit 3.
If you have any remarks and suggestions, I'll be glad to hear them.
As a bonus, here are the simple script to make contextfreeing in gedit easier:
Code: Select all
#!/bin/bash
viewer="eog"
size="700"
cfdg_file="$GEDIT_CURRENT_DOCUMENT_PATH"
png_file="$GEDIT_CURRENT_DOCUMENT_DIR/`basename "$GEDIT_CURRENT_DOCUMENT_NAME" .cfdg`.png"
cfdg "$cfdg_file" "$png_file" -w $size -h $size && $viewer "$png_file"