GNU bug report logs - #67730
[PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode

Previous Next

Package: emacs;

Reported by: Noah Peart <noah.v.peart <at> gmail.com>

Date: Sat, 9 Dec 2023 19:45:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.2

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noah Peart <noah.v.peart <at> gmail.com>
To: 67730 <at> debbugs.gnu.org
Subject: bug#67730: [PATCH] Add font-locking for shebangs in js-ts-mode and typescript-ts-mode
Date: Sat, 9 Dec 2023 11:44:19 -0800
[Message part 1 (text/plain, inline)]
Tags: patch


* Bug: `js-ts-mode` and `typescript-ts-mode` are missing font-locking
rules for hashbang lines.

Recipe to reproduce:
Open a buffer and insert

    #!/usr/bin/env node

Run `M-x js-ts-mode` and `M-x typescript-ts-mode` to see no font-locking
is applied to the hash bang line.
[Message part 2 (text/html, inline)]
[js-ts-mode-fontify-hash-bang.patch (text/x-patch, attachment)]
[typescript-ts-mode-fontify-hash-bang.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.