Closed pangchol closed 6 years ago
The rtags#InitPython can not work with python3 , suggest modify:
function! rtags#InitPython() if has('python') python << endpython import vim
script_folder = vim.eval('s:script_folder_path') sys.path.insert(0, script_folder)
import vimrtags
endpython elseif has('python3') python3 << endpython import vim
endpython endif
The rtags#InitPython can not work with python3 , suggest modify:
function! rtags#InitPython() if has('python') python << endpython import vim
script_folder = vim.eval('s:script_folder_path') sys.path.insert(0, script_folder)
import vimrtags
endpython elseif has('python3') python3 << endpython import vim
script_folder = vim.eval('s:script_folder_path') sys.path.insert(0, script_folder)
import vimrtags
endpython endif