aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index fc8871f593..91d5dc1c62 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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)