mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1368: Bass files are not recognized (#22485)
Problem: Bass files are not recognized.
Solution: Add patterns for Bass files. (Amaan Qureshi, closes vim/vim#12088)
4ed914b18a
This commit is contained in:
parent
4cf4ae93df
commit
fdb6b4d2e7
@ -156,6 +156,7 @@ local extension = {
|
|||||||
bas = function(path, bufnr)
|
bas = function(path, bufnr)
|
||||||
return require('vim.filetype.detect').bas(bufnr)
|
return require('vim.filetype.detect').bas(bufnr)
|
||||||
end,
|
end,
|
||||||
|
bass = 'bass',
|
||||||
bi = function(path, bufnr)
|
bi = function(path, bufnr)
|
||||||
return require('vim.filetype.detect').bas(bufnr)
|
return require('vim.filetype.detect').bas(bufnr)
|
||||||
end,
|
end,
|
||||||
|
@ -80,6 +80,7 @@ let s:filename_checks = {
|
|||||||
\ 'awk': ['file.awk', 'file.gawk'],
|
\ 'awk': ['file.awk', 'file.gawk'],
|
||||||
\ 'b': ['file.mch', 'file.ref', 'file.imp'],
|
\ 'b': ['file.mch', 'file.ref', 'file.imp'],
|
||||||
\ 'basic': ['file.bas', 'file.bi', 'file.bm'],
|
\ 'basic': ['file.bas', 'file.bi', 'file.bm'],
|
||||||
|
\ 'bass': ['file.bass'],
|
||||||
\ 'bc': ['file.bc'],
|
\ 'bc': ['file.bc'],
|
||||||
\ 'bdf': ['file.bdf'],
|
\ 'bdf': ['file.bdf'],
|
||||||
\ 'beancount': ['file.beancount'],
|
\ 'beancount': ['file.beancount'],
|
||||||
|
Loading…
Reference in New Issue
Block a user