]> git.rmz.io Git - dotfiles.git/commitdiff
vim: force use of python3
authorSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 10:47:36 +0000 (11:47 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 10:48:16 +0000 (11:48 +0100)
vim/vimrc

index 8fedddc67802be8a1494b5d4087a431f9fedfc7a..c8829a325f8e97f4a125c721c1590e1a906511ed 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -7,6 +7,9 @@
 set runtimepath ^=$XDG_CONFIG_HOME/vim
 set runtimepath +=$XDG_CONFIG_HOME/vim/after
 
+" force python3
+if has('python3') | endif
+
 " plugins {{{1
 " remove all autocommands
 autocmd!