]> git.eshelyaron.com Git - emacs.git/commit
Add major mode for highlighting npmrc files (Bug#77138)
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Thu, 20 Mar 2025 16:17:32 +0000 (19:17 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:32:14 +0000 (10:32 +0200)
commitfb1c2bd328b14d837e01ba07782125d656d78490
treed1bcd99b98bd267e2cc73271716caf7f27167512
parent6dd4d002c84142c143f2f3e5475f75fe26f3367a
Add major mode for highlighting npmrc files (Bug#77138)

* etc/NEWS: mention the new mode.
* lisp/textmodes/conf-mode.el (conf-npmrc-mode-syntax-table): New
variable.
* lisp/textmodes/conf-mode.el (conf-npmrc-mode): New major mode
derived from conf-mode for highlighting .npmrc files.
* lisp/files.el (auto-mode-alist): Associate the new mode with .npmrc
files.

(cherry picked from commit 891f51fe118597ffe58d5d817fff693db3188639)
lisp/files.el
lisp/textmodes/conf-mode.el