Add golang Syntax highlighting for Vim in mac terminal

Let’s go in vim terminal

To the point post.. Here is what you have to do

For those who use Vim in terminal of Mac.

ls ~/.vim/syntax curl >> go.vim

Edit .vimrc and add this line

au BufRead,BufNewFile *.go set filetype=go
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.