This project adheres to Semantic Versioning.
- Added: Support for SoftQuad Context (SQTroff intermediate output)
- Added: Highlighting for variable-length point-size adjustments
- Added: Highlighting for OSC 8 terminal hyperlink device controls
- Added: Highlighting for dpic and Pikchr language extensions
- Added: Highlighting for new requests added in Groff v1.23.0
- Added: Embedded shell highlighting to
.pi
,.pso
, and.sy
- Changed:
.device
requests now highlight device control functions - Changed: Man page references now exclude leading
man:
prefixes - Changed: Texinfo documents now exempted from man page hyperlinking
- Fixed:
{
not expanding into\{\ … .\}
inside.while
requests - Fixed: Inconsistent command highlighting in
.do
requests - Fixed: Highlighting of
\s(±NN
inconsistent with\s±(NN
- Fixed: Conditional requests not highlighting the commands they run
- Fixed: Parameter highlighting terminated at the letter
R
in Atom - Fixed: refer(1)-like markup inside macro definitions now truncated
- Fixed: Various inaccuracies related to Roff modeline matching
- Improved: Handling of postprocessor input misclassified as Roff
- Improved: Colour of ASCII control characters in dark themes
- Improved: Accuracy and granularity of Pic highlighting
October 16th, 2020
- Added: Editor command for evaluating selection with
groff -Tutf8
- Added:
mdoc.template
andman.template
as recognised Roff files - Added: Recognition of
.\"
,.Dt/.Dd
and$Mdocdate$
in headers - Added: Support for
.ditroff
files containing intermediate output - Added: Highlighting of certain C0 control codes in identifiers
- Added: Highlighting for new
.stringdown
and.stringup
requests - Added: Highlighting for Heirloom's
\U
,\T
, and\W
extensions - Added: Highlighting for device control functions
- Changed:
Dt
andSh
macros now highlighted likeTH
andSH
- Changed: Enabled soft-wrapping in Roff documents by default
- Changed:
.while
requests now highlighted the same as.if
/.ie
- Fixed:
ditroff(7)
commands only tokenised at the start of a line - Fixed: Incorrect highlighting of man page links containing colons
- Fixed: Missing highlighting of escape sequences in some contexts
- Improved: Highlighting of
.Dd
macros and$Mdocdate$
constructs
December 31st, 2019
- Added: Automatic expansion of
{
into\{\ … .\}
in conditionals - Added: Automatic suppression of closing quotes and parentheses
- Added: Editor command to replace blank lines in Roff documents
- Added: Highlighting for
gperl
,glilypond
, andgpinyin
macros - Added: Highlighting for shell source embedded with
mdoc
's.Bd
- Added: Man-page previewer and clickable page hyperlinks
- Added: Missing highlighting for numerous
\f
sequences - Added: Snippet for inserting a bordered section heading
- Added: Support for sequences escaped by Groff's
\E
- Added: Vastly improved highlighting for
eqn
andgrn
markup - Fixed: Conversion commands not working for opened
.pic
files - Fixed: Documents mangled when rendering preprocessed Pic output
- Fixed: Escape sequences not highlighted in register definitions
- Fixed: Highlighting for
\f
escapes not terminated correctly - Fixed: User-defined character names not highlighted by
\(xx
- Fixed: Macros starting with
.[
always assumed to berefer(1)
- Fixed: Macros starting with
cu-
mistaken for.cu
requests - Fixed: Snippets not working when hitting tab key
- Improved: Highlighting of arithmetic and comparison operators
- Removed:
.t
from associated file extensions
February 26th, 2017
- Added: Commands for converting Roff to other document formats
- Added: Highlighting for intermediate output and font descriptions
- Added: Intelligent indentation of control lines
- Added: Various obscure extensions to supported filetypes
- Fixed: Bugs with matching certain Vim/Emacs modelines
- Fixed: RUNOFF literal blocks not terminated at
.end lit
- Fixed: Underline missing after
.cu
requests - Fixed: Various bugs with highlighting escapes and Pic commands
August 1st, 2016
Patch for several highlighting-related bugs.
- Added: Snippet for inserting 3-column table
- Fixed: Comments not highlighted without preceding whitespace
- Fixed: Escape sequences not detected inside GNU long-names
- Fixed: Escape sequences not recognised in string definitions
- Fixed: Inconsistent highlighting applied to interpolated arguments
- Fixed: Macros matched as substrings of longer names
- Fixed: String definitions unable to span multiple lines
- Improved: Handling of requests without whitespace
July 29th, 2016
Support for Troff preprocessors and the venerable RUNOFF has been added,
along with numerous other enhancements.
- Added: Full syntax highlighting for
mdoc
macros - Added: Language support for RUNOFF
- Added: Missing support for GNU-style long-names (
\*[name]
) - Added: Snippets for conditionals, definitions, and page templates
- Added: Support for chem, dformat, eqn, grap, pic, refer, and tbl
- Fixed: Alphabetic Vroff conditional not matched (
.if v
) - Fixed: Decimals without leading digits not recognised
- Fixed:
.ig
macros not blanking out their contents - Fixed: Point-size adjustments incorrectly highlighted
July 20th, 2016
This release addresses a number of glaring bugs with highlighting fonts,
and improves the lexical accuracy of the grammar's pattern-matching.
- Added: Support for all Groff-related features and extensions
- Fixed: Blank elements not permitted in 3-part title strings
- Fixed: Control lines not matched after
\fB
and its ilk - Fixed: Escape sequences formatted like ordinary markup
- Fixed: Paragraph macros not resetting bold/italic formatting
- Fixed: Various edge cases with oddly-formed syntax
- Improved: Highlighting of escape sequences and generic macros
July 17th, 2016
Initial release. Adds syntax highlighting and language support for Roff.