aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-06 20:57:21 +0800
committerGitHub <noreply@github.com>2024-12-06 20:57:21 +0800
commit1077843b9bee550fe2ae1e3e700a9c135005d593 (patch)
tree0787d0c0dff5aa0ad8dcdcb21163fc8aea79c1c2 /test/functional/lua
parent367182abd501876819620eb1a353fc187e34849c (diff)
downloadrneovim-1077843b9bee550fe2ae1e3e700a9c135005d593.tar.gz
rneovim-1077843b9bee550fe2ae1e3e700a9c135005d593.tar.bz2
rneovim-1077843b9bee550fe2ae1e3e700a9c135005d593.zip
fix(filetype): make filetype detection work with :doautocmd (#31470)
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 6a4f8d70f3..b75ff75b05 100644
--- a/test/functional/lua/filetype_spec.lua
+++ b/test/functional/lua/filetype_spec.lua
@@ -208,7 +208,7 @@ describe('filetype.lua', function()
eq('gitconfig', api.nvim_get_option_value('filetype', {}))
end)
- pending('works with :doautocmd BufRead #31306', function()
+ it('works with :doautocmd BufRead #31306', function()
clear({ args = { '--clean' } })
eq('', api.nvim_get_option_value('filetype', {}))
command('doautocmd BufRead README.md')