patch 9.1.2109: filetype: NetLinx fires are not recognized
Commit:
https://github.com/vim/vim/commit/6963e3b8bf46893f8d09e7ea556c37581248e777
Author: kb <[email protected]>
Date: Sun Jan 25 14:59:49 2026 +0000
patch 9.1.2109: filetype: NetLinx fires are not recognized
Problem: filetype: NetLinx fires are not recognized
Solution: Detect *.axs and *.axi as netlinx filetype
(kb).
Reference:
-
https://www.amx.com/en/site_elements/amx-language-reference-guide-netlinx-programming-language
- https://kielthecoder.com/2021/06/11/netlinx-getting-started/
closes: #19249
Signed-off-by: kb <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index 0d3b1e7eb..9d68c3d21 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -3,7 +3,7 @@ vim9script
# Vim functions for file type detection
#
# Maintainer: The Vim Project <https://github.com/vim/vim>
-# Last Change: 2026 Jan 20
+# Last Change: 2026 Jan 25
# Former Maintainer: Bram Moolenaar <[email protected]>
# These functions are moved here from runtime/filetype.vim to make startup
@@ -2373,6 +2373,9 @@ const ft_from_ext = {
# N1QL
"n1ql": "n1ql",
"nql": "n1ql",
+ # NetLinx
+ "axs": "netlinx",
+ "axi": "netlinx",
# Nickel
"ncl": "nickel",
# Nim file
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index a082b4fb9..078019bc5 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -578,6 +578,7 @@ def s:GetFilenameChecks(): dict<list<string>>
ncf: ['file.ncf'],
neomuttlog: ['/home/user/.neomuttdebug1'],
neomuttrc: ['Neomuttrc', '.neomuttrc', '.neomuttrc-file',
'/.neomutt/neomuttrc', '/.neomutt/neomuttrc-file', 'Neomuttrc',
'Neomuttrc-file', 'any/.neomutt/neomuttrc', 'any/.neomutt/neomuttrc-file',
'neomuttrc', 'neomuttrc-file' ],
+ netlinx: ['file.axs', 'file.axi'],
netrc: ['.netrc'],
nginx: ['file.nginx', 'nginxfile.conf', 'filenginx.conf',
'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'],
nickel: ['file.ncl'],
diff --git a/src/version.c b/src/version.c
index a3c72bdd2..f97ecf4fa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2109,
/**/
2108,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vk1pU-00DDGK-Bb%40256bit.org.