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
Like what you read? Give Motyar a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.