aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 6ec5036..3dddb93 100644
--- a/.vimrc
+++ b/.vimrc
@@ -23,6 +23,12 @@ set noerrorbells
" use for populating filename in quickfix
set errorformat+=%f
+" used by nvim and nvim-yarp
+let g:python3_host_prog = '/usr/bin/python3'
+if has('macunix')
+ let g:python3_host_prog = '/usr/local/bin/python3'
+endif
+
" Use python3 first
if has('python3')
elseif has('python')