#if you dont have folder mkdir ~/.vim/ mkdir ~/.vim/syntax/ touch ~/.vimrc cp $GOROOT/misc/vim/go.vim ~/.vim/syntax/ echo "autocmd BufNewFile,BufRead *.go set filetype=go">>~/.vimrc
cheers,
သင္ေကာင္းလွ်င္ ကြ်ႏု္ပ္မဆိုးပါ။ သင္ဆိုးလွ်င္ သင့္ထက္ပိုဆိုးလွ်င္ ဆိုးမည္။
1 comment:
Hi Bro, thanks for sharing. I didn't think that go.vim is already inside source folder. But you found it. :-)
Thanks Bro, ko soe.
rgds,
Post a Comment