# https://www.latex-project.org/ # # Detection # ‾‾‾‾‾‾‾‾‾ hook global BufCreate .*\.tex %{ set-option buffer filetype latex } hook -once global BufSetOption filetype=latex %{ require-module latex } provide-module latex %( # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter shared/latex regions add-highlighter shared/latex/content default-region group add-highlighter shared/latex/comment region '(?