X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/ca3005b75641664ba9a982a4fa5bb5b871c07d91..2f1103bcc483bc52c733d40fa55f6b03f79d3847:/test/vimrc diff --git a/test/vimrc b/test/vimrc index 59c6163..463cbd8 100644 --- a/test/vimrc +++ b/test/vimrc @@ -1,7 +1,10 @@ set nocompatible set rtp+=../ set rtp+=../build/tabular/ +set rtp+=../build/vim-toml/ +set rtp+=../build/vim-json/ set rtp+=../build/vader.vim/ +let $LANG='en_US' filetype on filetype plugin on filetype indent on @@ -14,7 +17,7 @@ function! Markdown_GetScriptID(fname) abort redir END let a:mx = '^\s*\(\d\+\):\s*\(.*\)$' for a:line in split(a:snlist, "\n") - if stridx(a:line, a:fname) >= 0 + if stridx(substitute(a:line, '\\', '/', 'g'), a:fname) >= 0 return substitute(a:line, a:mx, '\1', '') endif endfor