mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:9.1.1504: filetype: numbat files are not recognized
Problem: filetype: numbat files are not recognized
Solution: detect *.nbt files as numbat filetype (0xadk)
References:
- https://github.com/sharkdp/numbat
- https://github.com/sharkdp/numbat/tree/master/numbat/modules
closes: vim/vim#17643
20eb68a8f2
Co-authored-by: 0xadk <0xadk@users.noreply.github.com>
This commit is contained in:
committed by
Christian Clason
parent
0a14ac3261
commit
fc1be07d28
@ -564,6 +564,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'nsis': ['file.nsi', 'file.nsh'],
|
||||
\ 'ntriples': ['file.nt'],
|
||||
\ 'nu': ['file.nu'],
|
||||
\ 'numbat': ['file.nbt'],
|
||||
\ 'obj': ['file.obj'],
|
||||
\ 'objdump': ['file.objdump', 'file.cppobjdump'],
|
||||
\ 'obse': ['file.obl', 'file.obse', 'file.oblivion', 'file.obscript'],
|
||||
|
Reference in New Issue
Block a user