본문 바로가기
컴퓨터 & IT (Computer & IT)/VIM

[VIM] scrooloose/syntastic 구문오류 - python

by Physics 2020. 6. 24.
728x90

vimrc 파일에서 scrooloose/syntastic이 python3 구문 오류를 체크하도록 설정하자. 

 

아래와 같이 두 문장을 .vimrc파일에 넣으면 된다.

 

let g:syntastic_python_python_exec = 'python3'
let g:syntastic_python_checkers = ['python']

 

 

Reference: https://stackoverflow.com/questions/23177561/switch-python-version-for-vim-syntastic

728x90

댓글