14

Has anyone created a vim syntax file for the go language?

Sinan Ünür
  • 116,958
  • 15
  • 196
  • 339
C. Ross
  • 31,137
  • 42
  • 147
  • 238
  • 5
    It comes with one. Please look first. – Dustin Nov 18 '09 at 17:56
  • 3
    I wholeheartedly apologize for asking a stupid question. – C. Ross Nov 18 '09 at 18:01
  • 8
    Dustin - muich as I'm grated by newbie questions, it was 100% decidively decided by StackOverflow's founders that the obvious/RTFMable/easy-googlable questions are 100% valid and acceptable on SO. And this one was not even that obvious/easy. – DVK Nov 26 '09 at 20:51

4 Answers4

15

go.vim

There is also a syntax file on vim.org.

Zombo
  • 1
  • 62
  • 391
  • 407
Sinan Ünür
  • 116,958
  • 15
  • 196
  • 339
10

A vim syntax file is included in the Go distribution under misc/vim/ For syntax files for other editors see also: http://go-lang.cat-v.org/text-editors/

uriel
  • 1,467
  • 13
  • 14
8

Nowadays there is a vim-syntax-go package in Ubuntu, which would probably be the easiest for most such users.

CSkau
  • 625
  • 6
  • 10
2

This topic has been covered in detail already:

What do you use to write Go

Community
  • 1
  • 1