aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-05-02 11:01:51 -0400
committerGitHub <noreply@github.com>2022-05-02 11:01:51 -0400
commita1542b091dd7b919fa8524c1c909ef897dde9299 (patch)
treedfa2394fcc39ede5ab5c0d51f9b4abbe5b012048 /test
parentaf53fa06636586511a6208094332d2e1245ab2a0 (diff)
parent88595fbb212c0b770ed6aa08b09561af608c73e0 (diff)
downloadrneovim-a1542b091dd7b919fa8524c1c909ef897dde9299.tar.gz
rneovim-a1542b091dd7b919fa8524c1c909ef897dde9299.tar.bz2
rneovim-a1542b091dd7b919fa8524c1c909ef897dde9299.zip
Merge pull request #18353 from jamessan/ft-match-fix
Diffstat (limited to 'test')
-rw-r--r--test/functional/lua/filetype_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/lua/filetype_spec.lua b/test/functional/lua/filetype_spec.lua
index 729ebc601b..e83dd2eb24 100644
--- a/test/functional/lua/filetype_spec.lua
+++ b/test/functional/lua/filetype_spec.lua
@@ -70,6 +70,7 @@ describe('vim.filetype', function()
it('works with patterns', function()
eq('markdown', exec_lua([[
local root = ...
+ vim.env.HOME = '/a-funky+home%dir'
vim.filetype.add({
pattern = {
['~/blog/.*%.txt'] = 'markdown',