aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua
diff options
context:
space:
mode:
authorLuca Saccarola <96259932+saccarosium@users.noreply.github.com>2024-12-28 12:20:50 +0100
committerGitHub <noreply@github.com>2024-12-28 19:20:50 +0800
commit2b07b14eacf3197754c63f42f9c880e85960eef2 (patch)
tree5ba0b476cccbc257cc651dc5b23fced1d895f06b /test/functional/lua
parentbc624ccffd20ccb36cbcb0165541bf38c28d724e (diff)
downloadrneovim-2b07b14eacf3197754c63f42f9c880e85960eef2.tar.gz
rneovim-2b07b14eacf3197754c63f42f9c880e85960eef2.tar.bz2
rneovim-2b07b14eacf3197754c63f42f9c880e85960eef2.zip
vim-patch:9.1.0965: filetype: sh filetype set when detecting the use of bash (#31749)
Problem: filetype: sh filetype set when detecting the use of bash Solution: when bash is detected, use 'bash' filetype instead (Luca Saccarola) closes: vim/vim#16309 https://github.com/vim/vim/commit/b9b762c21f2b61e0e7d8fee43d4d3dc8ecffd721
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/filetype_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/filetype_spec.lua b/test/functional/lua/filetype_spec.lua
index b75ff75b05..d64c024d7f 100644
--- a/test/functional/lua/filetype_spec.lua
+++ b/test/functional/lua/filetype_spec.lua
@@ -119,7 +119,7 @@ describe('vim.filetype', function()
it('works with contents #22180', function()
eq(
- 'sh',
+ 'bash',
exec_lua(function()
-- Needs to be set so detect#sh doesn't fail
vim.g.ft_ignore_pat = '\\.\\(Z\\|gz\\|bz2\\|zip\\|tgz\\)$'