Closed tuantda closed 9 years ago
When I run gvim on windows 7, I get an error at line 64 of file ftplugin/markdown.vim.
ftplugin/markdown.vim
Vim directory is placed in the user directory with spaces in the name and : p will error if there are spaces in the entire path.
: p
After I refer in lervag/vimtex#9
I've modified the line 64 from
execute 'setlocal dictionary+=' . expand('<sfile>:p:h:h') . '/dict/emoticons.dict'
to
execute 'setlocal dictionary+=' . shellescape(expand('<sfile>:p:h:h')) . '/dict/emoticons.dict'
and plugin worked
You can modify this way or make some other change on your own.
Thanks!
@tuantda thanks :wink:
When I run gvim on windows 7, I get an error at line 64 of file
ftplugin/markdown.vim
.Vim directory is placed in the user directory with spaces in the name and
: p
will error if there are spaces in the entire path.After I refer in lervag/vimtex#9
I've modified the line 64 from
to
and plugin worked
You can modify this way or make some other change on your own.
Thanks!