mirror of
https://github.com/neovim/neovim.git
synced 2026-05-07 00:40:20 -04: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 https://github.com/vim/vim/commit/20eb68a8f29008fe9041e60b920246f64ee29335 Co-authored-by: 0xadk <0xadk@users.noreply.github.com>
This commit is contained in:
committed by
Christian Clason
parent
0a14ac3261
commit
fc1be07d28
@@ -871,6 +871,7 @@ local extension = {
|
||||
nsh = 'nsis',
|
||||
nt = 'ntriples',
|
||||
nu = 'nu',
|
||||
nbt = 'numbat',
|
||||
obj = 'obj',
|
||||
objdump = 'objdump',
|
||||
cppobjdump = 'objdump',
|
||||
|
||||
@@ -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