Releases: Alhadis/language-roff
Releases · Alhadis/language-roff
v1.3.1
- 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
v1.3.0
- 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(!)
- 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
v1.2.2
- 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
v1.2.1
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
v1.2.0
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
,ideal
,pic
,refer
, andtbl
- 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
v1.1.0
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