Lustre Syntax Highlight

VIM

Copy this lus.vim file in your .vim/syntax folder:

lus.vim

To auto-load the syntax file, you can add these line to your .vimrc file:

syntax enable
augroup filetypedetect
   au BufWinEnter,BufRead,BufNewFile *.lus,*.ec set filetype=lus
augroup END

EMACS

A syntax file by Olivier Chevallier, patched by Nicolas Berthier, is available:

lustre.el

GEDIT

There’s a Gtksourceview by Arxwel on github:

github.com/Arxwel/LustreLang/blob/master/lustre.lang

Here is a local copy of

lustre.lang

You can install this file locally (no root privilege needed):

  • create (if needed) a folder in your home dir:

mkdir -p ~/.local/share/gtksourceview-4/language-specs/

  • copy lustre.lang in this folder