summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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