X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/df9dab8972c83f198aa05e166acd46e59ec4bd80..a3f273839d1b45fe73b3bc48e1d7a8c6d1422187:/test/vimrc?ds=sidebyside diff --git a/test/vimrc b/test/vimrc index 44df1b6..015febf 100644 --- a/test/vimrc +++ b/test/vimrc @@ -1,7 +1,9 @@ set nocompatible set rtp+=../ -set rtp+=../../tabular/ -set rtp+=../../vader.vim/ +set rtp+=../build/tabular/ +set rtp+=../build/vim-toml/ +set rtp+=../build/vader.vim/ +let $LANG='en_US' filetype on filetype plugin on filetype indent on @@ -14,7 +16,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