aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-06-09 23:48:31 +0200
committerGitHub <noreply@github.com>2023-06-09 23:48:31 +0200
commit5959b3c9222629c0e6020672ad5b13d0ed707c99 (patch)
tree92db44e23203fc964cc946da9e9c23387f77d3ce
parentaaec9cdd850d6c01a9467fd86bca4f342d1402c9 (diff)
downloadrneovim-5959b3c9222629c0e6020672ad5b13d0ed707c99.tar.gz
rneovim-5959b3c9222629c0e6020672ad5b13d0ed707c99.tar.bz2
rneovim-5959b3c9222629c0e6020672ad5b13d0ed707c99.zip
vim-patch:9.0.1622: filetype name t32 is a bit obscure (#23967)
Problem: Filetype name t32 is a bit obscure. Solution: Rename t32 to trace32. (Christoph Sax, closes vim/vim#12512) https://github.com/vim/vim/commit/740df76c90ee2c421ab7852b7ff2835aa0af782a Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
-rw-r--r--runtime/lua/vim/filetype.lua4
-rw-r--r--test/old/testdir/test_filetype.vim2
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 18c47ea2f4..fc8871f593 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1033,8 +1033,8 @@ local extension = {
swift = 'swift',
svh = 'systemverilog',
sv = 'systemverilog',
- cmm = 't32',
- t32 = 't32',
+ cmm = 'trace32',
+ t32 = 'trace32',
td = 'tablegen',
tak = 'tak',
tal = 'tal',
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
index 779de51785..67d44099d8 100644
--- a/test/old/testdir/test_filetype.vim
+++ b/test/old/testdir/test_filetype.vim
@@ -593,7 +593,7 @@ let s:filename_checks = {
\ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf', 'any/etc/sysctl.conf', 'any/etc/sysctl.d/file.conf'],
\ 'systemd': ['any/systemd/file.automount', 'any/systemd/file.dnssd', 'any/systemd/file.link', 'any/systemd/file.mount', 'any/systemd/file.netdev', 'any/systemd/file.network', 'any/systemd/file.nspawn', 'any/systemd/file.path', 'any/systemd/file.service', 'any/systemd/file.slice', 'any/systemd/file.socket', 'any/systemd/file.swap', 'any/systemd/file.target', 'any/systemd/file.timer', '/etc/systemd/some.conf.d/file.conf', '/etc/systemd/system/some.d/file.conf', '/etc/systemd/system/some.d/.#file', '/etc/systemd/system/.#otherfile', '/home/user/.config/systemd/user/some.d/mine.conf', '/home/user/.config/systemd/user/some.d/.#file', '/home/user/.config/systemd/user/.#otherfile', '/.config/systemd/user/.#', '/.config/systemd/user/.#-file', '/.config/systemd/user/file.d/.#', '/.config/systemd/user/file.d/.#-file', '/.config/systemd/user/file.d/file.conf', '/etc/systemd/file.conf.d/file.conf', '/etc/systemd/system/.#', '/etc/systemd/system/.#-file', '/etc/systemd/system/file.d/.#', '/etc/systemd/system/file.d/.#-file', '/etc/systemd/system/file.d/file.conf', '/systemd/file.automount', '/systemd/file.dnssd', '/systemd/file.link', '/systemd/file.mount', '/systemd/file.netdev', '/systemd/file.network', '/systemd/file.nspawn', '/systemd/file.path', '/systemd/file.service', '/systemd/file.slice', '/systemd/file.socket', '/systemd/file.swap', '/systemd/file.target', '/systemd/file.timer', 'any/.config/systemd/user/.#', 'any/.config/systemd/user/.#-file', 'any/.config/systemd/user/file.d/.#', 'any/.config/systemd/user/file.d/.#-file', 'any/.config/systemd/user/file.d/file.conf', 'any/etc/systemd/file.conf.d/file.conf', 'any/etc/systemd/system/.#', 'any/etc/systemd/system/.#-file', 'any/etc/systemd/system/file.d/.#', 'any/etc/systemd/system/file.d/.#-file', 'any/etc/systemd/system/file.d/file.conf'],
\ 'systemverilog': ['file.sv', 'file.svh'],
- \ 't32': ['file.cmm', 'file.t32'],
+ \ 'trace32': ['file.cmm', 'file.t32'],
\ 'tags': ['tags'],
\ 'tak': ['file.tak'],
\ 'tal': ['file.tal'],