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:
Amaan Qureshi 2023-03-02 17:29:03 -05:00 committed by GitHub
parent 4cf4ae93df
commit fdb6b4d2e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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'],