aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-07-02 20:00:56 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-07-03 09:18:18 +0200
commit0a14ac326106a3aaf978009f045f9d8efca161eb (patch)
tree0c7c51eca789a551c290b1fa6e81728731f65cfb /runtime/lua/vim
parent18cfbf8fb2c709ec473afccf5c13dcb7301b6ab8 (diff)
downloadrneovim-0a14ac326106a3aaf978009f045f9d8efca161eb.tar.gz
rneovim-0a14ac326106a3aaf978009f045f9d8efca161eb.tar.bz2
rneovim-0a14ac326106a3aaf978009f045f9d8efca161eb.zip
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>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
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,