auctex-diffs
[Top][All Lists]
Advanced

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

main 96a053b6: Update style/minted.el to package v2.9


From: Arash Esbati
Subject: main 96a053b6: Update style/minted.el to package v2.9
Date: Wed, 25 Sep 2024 16:21:06 -0400 (EDT)

branch: main
commit 96a053b6e7c24241c1332a2f0c2982cdf41b11a1
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    Update style/minted.el to package v2.9
    
    * style/minted.el (LaTeX-minted-key-val-options): Update options.
    ("minted"): Run the style hooks for xcolor and fvextra.
---
 style/minted.el | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/style/minted.el b/style/minted.el
index f9fe799c..d461efcf 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -1,6 +1,6 @@
-;;; minted.el --- AUCTeX style for `minted.sty' (v2.8)  -*- lexical-binding: 
t; -*-
+;;; minted.el --- AUCTeX style for `minted.sty' (v2.9)  -*- lexical-binding: 
t; -*-
 
-;; Copyright (C) 2014--2023 Free Software Foundation, Inc.
+;; Copyright (C) 2014--2024 Free Software Foundation, Inc.
 
 ;; Author: Tassilo Horn <tsdh@gnu.org>
 ;; Maintainer: auctex-devel@gnu.org
@@ -24,7 +24,7 @@
 
 ;;; Commentary:
 
-;; This file adds support for `minted.sty' (v2.8) from 2023/09/12.
+;; This file adds support for `minted.sty' (v2.9) from 2023/12/18.
 
 ;;; Code:
 
@@ -104,6 +104,7 @@
     ("gobble")
     ("highlightcolor")
     ("highlightlines")
+    ("ignorelexererrors" ("true" "false"))
     ("keywordcase" ("lower" "upper" "capitalize"))
     ("label")
     ("labelposition" ("none" "topline" "bottomline" "all"))
@@ -131,17 +132,19 @@
     ;; in a .tex file, Emacs asks to apply a variable which is not
     ;; safe and does not restore the window; the splitted frame
     ;; remains.  I couldn't figure out why, so for now, I add the
-    ;; styles from Pygments version 2.14.0 here.
+    ;; styles from Pygments version 2.18.0 here.
     ("style" ("abap" "algol" "algol_nu" "arduino" "autumn"
-              "borland" "bw" "colorful" "default" "dracula"
-              "emacs" "friendly" "friendly_grayscale" "fruity"
+              "bw" "borland" "coffee" "colorful" "default" "dracula"
+              "emacs" "friendly_grayscale" "friendly" "fruity"
               "github-dark" "gruvbox-dark" "gruvbox-light"
-              "igor" "inkpot" "lilypond" "lovelace" "manni" "material"
-              "monokai" "murphy" "native" "nord" "nord-darker"
-              "one-dark" "paraiso-dark" "paraiso-light" "pastie" "perldoc"
-              "rainbow_dash" "rrt" "sas" "solarized-dark" "solarized-light"
-              "staroffice" "stata" "stata-dark" "stata-light"
-              "tango" "trac" "vim" "vs" "xcode" "zenburn"))
+              "igor" "inkpot" "lightbulb" "lilypond"
+              "lovelace" "manni" "material" "monokai" "murphy"
+              "native" "nord-darker" "nord"
+              "one-dark" "paraiso-dark" "paraiso-light" "pastie"
+              "perldoc" "rainbow_dash" "rrt" "sas"
+              "solarized-dark" "solarized-light" "staroffice"
+              "stata-dark" "stata-light" "tango" "trac"
+              "vim" "vs" "xcode" "zenburn"))
     ("stepnumber")
     ("stepnumberfromfirst")
     ("stepnumberoffsetvalues" ("true" "false"))
@@ -352,6 +355,9 @@ a list of strings."
  "minted"
  (lambda ()
 
+   ;; Run the relevant style hooks:
+   (TeX-run-style-hooks "xcolor" "fvextra")
+
    ;; New symbols
    (TeX-add-symbols
     '("mint"



reply via email to

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