branch: externals/auctex
commit 2664170ecc27c68c2c3f6c06ab04fed8fdd6c5d4
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    Update style/fvextra.el to package version 1.5
    
    * style/fvextra.el (LaTeX-fvextra-key-val-options): Add new
    key=vals.
    ("fvextra"): Add support for the new "VerbEnv" environment.
---
 style/fvextra.el | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/style/fvextra.el b/style/fvextra.el
index 3bb11e811d..c74baf13d0 100644
--- a/style/fvextra.el
+++ b/style/fvextra.el
@@ -26,7 +26,7 @@
 
 ;;; Commentary:
 
-;; This file adds support for `fvextra.sty' (v1.4) from 2019/02/04.
+;; This file adds support for `fvextra.sty' (v1.5) from 2022/11/30.
 ;; `fvextra.sty' is part of TeXLive.
 
 ;;; Code:
@@ -75,7 +75,7 @@
     ("tabcolor" ("none"))
     ;; 7.1 Line breaking options
     ("breakafter" ("none"))
-    ("breakaftergroup" ("true" "false"))
+    ("breakafterinrun" ("true" "false"))
     ("breakaftersymbolpre")
     ("breakaftersymbolpost")
     ("breakanywhere" ("true" "false"))
@@ -83,12 +83,13 @@
     ("breakanywheresymbolpost")
     ("breakautoindent" ("true" "false"))
     ("breakbefore")
-    ("breakbeforegroup" ("true" "false"))
+    ("breakbeforeinrun" ("true" "false"))
     ("breakbeforesymbolpre")
     ("breakbeforesymbolpost")
     ("breakindent")
     ("breakindentnchars")
     ("breaklines" ("true" "false"))
+    ("breaknonspaceingroup" ("true" "false"))
     ("breaksymbol")
     ("breaksymbolleft")
     ("breaksymbolright")
@@ -118,6 +119,7 @@
     '("fvinlineset" (TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)))
 
     ;; 4.2 Line and text formatting
+    "FancyVerbFormatInline"
     "FancyVerbFormatText"
 
     ;; 6 New commands and environments
@@ -136,6 +138,16 @@
     "FancyVerbBreakBeforeBreak"
     "FancyVerbBreakAfterBreak")
 
+   ;; 6.2 VerbEnv environment
+   (LaTeX-add-environments
+    '("VerbEnv" LaTeX-env-args
+      [TeX-arg-key-val (LaTeX-fancyvrb-key-val-options)]))
+
+   ;; Filling
+   (add-to-list 'LaTeX-verbatim-environments-local "VerbEnv")
+   (add-to-list (make-local-variable 'LaTeX-indent-environment-list)
+                '("VerbEnv" current-indentation) t)
+
    ;; Add \Verb*? and \EscVerb*? to
    ;; `LaTeX-verbatim-macros-with-braces-local':
    (let ((macs '("Verb" "Verb*"


Reply via email to