I am using a Windows 10, 64 bit machine, with gvim 8.1.1 installed (See screenshots below). I am using Vi version 8.1 which was installed as part of my git bash - version 4.4.23.
I have never installed plugins for vi/gvim and am starting out by trying to install the typescript syntax highlighting plugin that is available here - https://github.com/leafgarland/typescript-vim .
After following the instructions to install the plugin (running the git clone command on the front page), I can see that Vi has syntax highlighting for typescript. But gvim still doesn't. I can see the plugin files in my directory. What else do I need to do to make sure my Vi plugins are also functional in gvim? Or is this not possible? Do I need to install gvim plugins separately from Vi plugins?
:set rtp?
in both Vims?runtimepath=~/.vim,~/.vim/pack/typescript/start/typescript-vim,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,~/.vim/after
in gvimruntimepath=~/vimfiles,C:\Program Files (x86)\Vim/vimfiles,C:\Program Files (x86)\Vim\vim81,C:\Program Files (x86)\Vim\vim81\pack\dist\opt\matchit,C:\Program Files (x86)\Vim/vimfiles/after,~/vimfiles/after
~.vim
to your runtime path and possibly also to thepackpath
of your gvim.