Module: vim syntax highlighting
Id: | vim |
Title: | vim syntax highlighting |
Short: | This module uses Vim editor's syntax files to syntax highlight verbatim code in ConTeXt |
Description: | This module highlights code snippets using vim as a syntax highlighter. Such a task may appear pointless at first glance. After all, ConTeXt provides excellent syntax highlighting features for TeX, Metapost, XML, and a few other langauges. And in MkIV, you can specify the grammer to parse a language, and get syntax highlighting for a new language. But writing such grammers is difficult. More importantly, why reinvent the wheel? Most editors, and many other syntax highlighting programs, already syntax highlight many programming languages. Why not just leverage these external programs to generate syntax highlighting? This module does exactly that. |
Homepage: | https://github.com/adityam/filter |
Keywords: | syntax-highlighting |
Module maintainer: | Aditya Mahajan |
Type: | Macro module |
License: | BSD License (simplified) |
Version: | 2020.09.15
Message: Bugfix release to fix a bug introduced by a change in how ConTeXt handles hyphenation. See https://mailman.ntg.nl/pipermail/ntg-context/2020/099435.html for bug report and the fix |
Date: | 15-9-2020 21:32 |
File list: | tex/context/third/vim/t-syntax-highlight.mkii tex/context/third/vim/t-syntax-highlight.mkiv tex/context/third/vim/vimtyping-default.css tex/context/third/vim/t-syntax-groups.mkii tex/context/third/vim/2context.vim tex/context/third/vim/t-vim.tex tex/context/third/vim/t-syntax-groups.mkiv doc/context/third/vim/vim.txt |