Edit file File name : tex.nanorc Content :## Here is a short example for TeX files. syntax tex "\.tex$" magic "(La)?TeX document" linter chktex -v0 -q -I comment "%" icolor green "\\.|\\[A-Z]*" color magenta "[{}]" color blue "(^|[^\])%.*" Save