From 683286b3d7e0db80e67458b4a0b4d71a88377b62 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 26 Oct 2020 16:25:24 +0100 Subject: Add all paths, fixes #612 --- ftdetect/polyglot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 22839535..5902b34f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -3522,7 +3522,7 @@ func! s:process_rtp(rtp) " Then vim-polyglot after path call add(result, s:base . '/after') " Then all other after paths - for path in rtp[i:-2] + for path in rtp[i:-1] call add(result, path) endfor " User's after directory is always last -- cgit v1.2.3