FS#20267 - [go] syntax highlighting does not work for go files in vim

Attached to Project: Community Packages
Opened by solsTiCe (zebul666) - Saturday, 24 July 2010, 14:11 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 07 May 2011, 09:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When you open a go file with vim, there is no syntax highlighting in vim.

The problem is that you need to install the file misc/ftdetect/gofiletype.vim that you can find in the source directory of go
you need to place it in /usr/share/vim/vimfiles/ftdetect/gofiletype.vim

This will fix the bug
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 07 May 2011, 09:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented in -2
Comment by solsTiCe (zebul666) - Saturday, 24 July 2010, 14:32 GMT
also doc is in /usr/share/go/doc but better be in /usr/share/doc/go (FHS compliant)

is /usr/share/go/misc really needed ?
Comment by Robert Ransom (rransom) - Tuesday, 17 August 2010, 00:20 GMT
See the PKGBUILD attached to  FS#19730 .

Loading...