summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-26 16:25:24 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-26 16:25:24 +0100
commit683286b3d7e0db80e67458b4a0b4d71a88377b62 (patch)
treec23860fffb9e71a85b239ee43c825b09ddcb239a
parent740a60811c4647eecf3e2f82a24dccc1abbd686a (diff)
downloadvim-polyglot-683286b3d7e0db80e67458b4a0b4d71a88377b62.tar.gz
vim-polyglot-683286b3d7e0db80e67458b4a0b4d71a88377b62.zip
Add all paths, fixes #612
-rw-r--r--ftdetect/polyglot.vim2
1 files changed, 1 insertions, 1 deletions
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