bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67730: [PATCH] Add font-locking for shebangs in js-ts-mode and types


From: Noah Peart
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

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.

Attachment: js-ts-mode-fontify-hash-bang.patch
Description: Text Data

Attachment: typescript-ts-mode-fontify-hash-bang.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]