aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-07-08 22:12:37 +0800
committerGuangxiong Lin <[email protected]>2022-07-08 22:12:37 +0800
commite67dcf9eea136f04c17f71da1afee0f341362abf (patch)
tree0098c4601721a6d37e899f6b953bff865109ab46
parent929f203ac89b254b23f64b29b5b4058f7d009bc5 (diff)
downloaddotfiles-e67dcf9eea136f04c17f71da1afee0f341362abf.tar.gz
dotfiles-e67dcf9eea136f04c17f71da1afee0f341362abf.tar.bz2
dotfiles-e67dcf9eea136f04c17f71da1afee0f341362abf.zip
Update vim config
-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')