Mercurial > dotfiles
diff install.py @ 494:76defcf6bf02
Add gvimrc file.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 12 Nov 2021 10:50:18 -0800 |
parents | b4d2eca00197 |
children | 38aa9895725d |
line wrap: on
line diff
--- a/install.py Fri Nov 12 10:49:22 2021 -0800 +++ b/install.py Fri Nov 12 10:50:18 2021 -0800 @@ -191,6 +191,16 @@ 'source %s' % nixslash(_p('vim', 'vimrc')) ]) + # Create a gvimrc file mostly to fix a bug with Scoop, which + # installs a _gvimrc in the base runtime path, and it can mess + # up colors and settings. + gvimrc_path = '~/.gvimrc' + if is_windows: + gvimrc_path = '~/_gvimrc' + writelines(gvimrc_path, [ + 'source %s' % nixslash(_p('vim', 'gvimrc')) + ]) + _install_vim_bundle(cfg, 'vimbundles', _p('vim', 'bundle'), force) _install_vim_bundle(cfg, 'vimbundles:local', _p('vim', 'local'), force)