본문 바로가기

vi

(1)
vim에서도 GO language의 syntax highlight 사용하기 vi editor에서도 go 언어의 syntax highlight를 사용하려면... .vimrc에 다음을 추가한다. filetype off filetype plugin indent off set runtimepath+=$GOROOT/misc/vim filetype plugin indent on syntax on $GOROOT에 대한 환경 변수 설정은 구글링을 하면 $GOPATH와 함께 자세히 나옴