mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 23:50:19 -05:00
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>
This commit is contained in:
1 parent
18cfbf8fb2
commit
0a14ac3261
2 files changed
+2
No files matched your search
@@ -557,6 +557,7 @@ local extension = {
|
||||
persistentmodels = 'haskellpersistent',
|
||||
ht = 'haste',
|
||||
htpp = 'hastepreproc',
|
||||
hx = 'haxe',
|
||||
hcl = 'hcl',
|
||||
hb = 'hb',
|
||||
h = detect.header,
|
||||
|
||||
@@ -348,6 +348,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'haskellpersistent': ['file.persistentmodels'],
|
||||
\ 'haste': ['file.ht'],
|
||||
\ 'hastepreproc': ['file.htpp'],
|
||||
\ 'haxe': ['file.hx'],
|
||||
\ 'hb': ['file.hb'],
|
||||
\ 'hcl': ['file.hcl'],
|
||||
\ 'heex': ['file.heex'],
|
||||
|
||||
Reference in new issue
Block a user