diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-06-24 13:41:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 13:41:50 +0200 |
commit | c2d696f0094fe50bf6256d56314f82a7724a2b4e (patch) | |
tree | 9c4f7d0b790e02956d8916a7a5ee0e5f836127a0 /runtime/lua/vim | |
parent | 31a51acdc3534f316dfedfaa37fea715f2a4814d (diff) | |
parent | fdf5013e218c55ca8f9bdb7cf5f16f8596330ea2 (diff) | |
download | rneovim-c2d696f0094fe50bf6256d56314f82a7724a2b4e.tar.gz rneovim-c2d696f0094fe50bf6256d56314f82a7724a2b4e.tar.bz2 rneovim-c2d696f0094fe50bf6256d56314f82a7724a2b4e.zip |
Merge pull request #24082 from smjonas/fix_24064
fix(filetype): correctly detect bash-fc-{id} files as "sh" (vim-patch:9.0.1644)
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 08a042d376..33e80690ff 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2189,7 +2189,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) |