Skip to content

Commit

Permalink
[Fix] Remove workaround of py3 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
chusiang committed Aug 27, 2023
1 parent 376971b commit 8bc8e83
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions _vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,11 @@
" Author: Chu-Siang Lai / chusiang (at) drx.tw
" Blog: http://note.drx.tw
" Filename: _vimrc
" Modified: 2018-03-18 22:36
" Modified: 2023-08-27 14:40
" Description: main vimrc.
" Reference: https://github.com/chusiang/vimrc/blob/master/_vimrc
" =============================================================================

" Support the Python 3
" --------------------

if has('mac')
if has('python3')
command! -nargs=1 Py py3 <args>
set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/3.7/Python
set pythonthreehome=/usr/local/Frameworks/Python.framework/Versions/3.7
else
command! -nargs=1 Py py <args>
set pythondll=/usr/local/Frameworks/Python.framework/Versions/2.7/Python
set pythonhome=/usr/local/Frameworks/Python.framework/Versions/2.7
endif
endif


" dein Scripts
" ------------

Expand Down

0 comments on commit 8bc8e83

Please sign in to comment.