rustyhu / vimrc

My vimrc
GNU General Public License v3.0
0 stars 0 forks source link

vim-go and rust.vim not work normally during gvim GUI session in Arch #2

Open rustyhu opened 4 years ago

rustyhu commented 4 years ago

Example: vim-go can not find correct $GOPATH under Arch when $GOPATH was set /opt/go. rust.vim can not find rustfmt command, which is under /opt/rust/.cargo/bin

Consider moving them back, under default .vim path.

rustyhu commented 4 years ago

After tests and observation, some subcmds of vim-go and rust.vim not work normally because gvim GUI in xfce in Arch do not get correct ${env} defined in .bashrc, so lacking such as $GOPATH, $CARGO_HOME. They worked fine in a vim starting from shell. Need to check some other information about gvim GUI. Not related to private vimrc/bundle/ path.