From 0a14ac326106a3aaf978009f045f9d8efca161eb Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 2 Jul 2025 20:00:56 +0200 Subject: vim-patch:9.1.1503: filetype: haxe files are not recognized Problem: filetype: haxe files are not recognized Solution: detect *.hx files as haxe filetype (0xadk) References: - https://haxe.org/ - https://code.haxe.org/category/beginner/hello-world.html closes: vim/vim#17644 https://github.com/vim/vim/commit/b46e3aa0fa08a9007c3f7115cb7a46d7389616b2 Co-authored-by: 0xadk <0xadk@users.noreply.github.com> --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 214e95798f..f23f723a9d 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -557,6 +557,7 @@ local extension = { persistentmodels = 'haskellpersistent', ht = 'haste', htpp = 'hastepreproc', + hx = 'haxe', hcl = 'hcl', hb = 'hb', h = detect.header, -- cgit