diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2023-09-14 07:48:13 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2023-12-05 20:00:26 -0700 |
| commit | b947312bfc8e0d987deca392961a833e3ac7be1e (patch) | |
| tree | d5f24024b9a926e9e4470266e7544cb2313ee1a5 /man/vis.1 | |
| parent | f1abd792d510af76da72600007b09bcc2b748989 (diff) | |
| download | vis-b947312bfc8e0d987deca392961a833e3ac7be1e.tar.gz vis-b947312bfc8e0d987deca392961a833e3ac7be1e.tar.xz | |
lua: filetype: use alt_name field to alias to other lexers
This obviously draws on the alt_name parameter used in scintillua
but rather then passing it all the way up to the chain to
lexers.load() we will just handle it in set_filetype().
8a420ec accidently readded detection for the removed git-commit
lexer which somehow went unnoticed until we readded caching for
the new lexers. Instead of just removing it we can alias to the
diff filetype and only set the colorcolumn for commit messages.
This fixes the incorrect behaviour of adding a colorcolumn to diff
and patch files and thus completely reverts 0cc684f.
Diffstat (limited to 'man/vis.1')
0 files changed, 0 insertions, 0 deletions
