mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(filetype): correctly detect bash-fc-{id} files as "sh"
This commit is contained in:
parent
771dad7a05
commit
fdf5013e21
@ -2188,7 +2188,7 @@ local pattern = {
|
||||
['.*/etc/profile'] = function(path, bufnr)
|
||||
return require('vim.filetype.detect').sh(path, M.getlines(bufnr))
|
||||
end,
|
||||
['bash%-fc[%-%.]'] = function(path, bufnr)
|
||||
['bash%-fc[%-%.].*'] = function(path, bufnr)
|
||||
return require('vim.filetype.detect').sh(path, M.getlines(bufnr), 'bash')
|
||||
end,
|
||||
['%.tcshrc.*'] = function(path, bufnr)
|
||||
|
Loading…
Reference in New Issue
Block a user