Commit: runtime: Add TOML entry to the syntax menu

1 view
Skip to first unread message

Christian Brabandt

unread,
Aug 3, 2026, 4:00:17 PM (19 hours ago) Aug 3
to vim...@googlegroups.com
runtime: Add TOML entry to the syntax menu

Commit: https://github.com/vim/vim/commit/c0da86685a416c08c90155acbd8aa7cf67103a70
Author: Doug Kearns <dougk...@gmail.com>
Date: Mon Aug 3 18:21:30 2026 +0000

runtime: Add TOML entry to the syntax menu

fixes: https://github.com/vim/vim/issues/20927
closes: https://github.com/vim/vim/issues/20930

Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/makemenu.vim b/runtime/makemenu.vim
index 79d188a92..8be8cc9fc 100644
--- a/runtime/makemenu.vim
+++ b/runtime/makemenu.vim
@@ -2,7 +2,7 @@ vim9script

# Script to define the syntax menu in synmenu.vim
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jul 30
+# Last Change: 2026 Aug 03
# Former Maintainer: Bram Moolenaar <Br...@vim.org>

# This is used by "make menu" in the src directory.
@@ -620,6 +620,7 @@ SynMenu T.TF\ mud\ client:tf
SynMenu T.Tidy\ configuration:tidy
SynMenu T.Tilde:tilde
SynMenu T.Tmux\ configuration:tmux
+SynMenu T.TOML:toml
SynMenu T.TPP:tpp
SynMenu T.Trasys\ input:trasys
SynMenu T.Treetop:treetop
diff --git a/runtime/synmenu.vim b/runtime/synmenu.vim
index 17241ff28..86272c1fd 100644
--- a/runtime/synmenu.vim
+++ b/runtime/synmenu.vim
@@ -2,7 +2,7 @@
" This file is normally sourced from menu.vim.
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Mar 09
+" Last Change: 2025 Aug 03
" Former Maintainer: Bram Moolenaar <Br...@vim.org>

" Define the SetSyn function, used for the Syntax menu entries.
@@ -593,15 +593,16 @@ an 50.150.310 &Syntax.T.TF\ mud\ client :cal SetSyn("tf")<CR>
an 50.150.320 &Syntax.T.Tidy\ configuration :cal SetSyn("tidy")<CR>
an 50.150.330 &Syntax.T.Tilde :cal SetSyn("tilde")<CR>
an 50.150.340 &Syntax.T.Tmux\ configuration :cal SetSyn("tmux")<CR>
-an 50.150.350 &Syntax.T.TPP :cal SetSyn("tpp")<CR>
-an 50.150.360 &Syntax.T.Trasys\ input :cal SetSyn("trasys")<CR>
-an 50.150.370 &Syntax.T.Treetop :cal SetSyn("treetop")<CR>
-an 50.150.380 &Syntax.T.Trustees :cal SetSyn("trustees")<CR>
-an 50.150.390 &Syntax.T.TSS.Command\ Line :cal SetSyn("tsscl")<CR>
-an 50.150.400 &Syntax.T.TSS.Geometry :cal SetSyn("tssgm")<CR>
-an 50.150.410 &Syntax.T.TSS.Optics :cal SetSyn("tssop")<CR>
-an 50.150.420 &Syntax.T.Typescript :cal SetSyn("typescript")<CR>
-an 50.150.430 &Syntax.T.TypescriptReact :cal SetSyn("typescriptreact")<CR>
+an 50.150.350 &Syntax.T.TOML :cal SetSyn("toml")<CR>
+an 50.150.360 &Syntax.T.TPP :cal SetSyn("tpp")<CR>
+an 50.150.370 &Syntax.T.Trasys\ input :cal SetSyn("trasys")<CR>
+an 50.150.380 &Syntax.T.Treetop :cal SetSyn("treetop")<CR>
+an 50.150.390 &Syntax.T.Trustees :cal SetSyn("trustees")<CR>
+an 50.150.400 &Syntax.T.TSS.Command\ Line :cal SetSyn("tsscl")<CR>
+an 50.150.410 &Syntax.T.TSS.Geometry :cal SetSyn("tssgm")<CR>
+an 50.150.420 &Syntax.T.TSS.Optics :cal SetSyn("tssop")<CR>
+an 50.150.430 &Syntax.T.Typescript :cal SetSyn("typescript")<CR>
+an 50.150.440 &Syntax.T.TypescriptReact :cal SetSyn("typescriptreact")<CR>
an 50.160.100 &Syntax.UV.Udev\ config :cal SetSyn("udevconf")<CR>
an 50.160.110 &Syntax.UV.Udev\ permissions :cal SetSyn("udevperm")<CR>
an 50.160.120 &Syntax.UV.Udev\ rules :cal SetSyn("udevrules")<CR>
Reply all
Reply to author
Forward
0 new messages