• Paul Sbarra's avatar
    vim: fix go filetype detection · 41f4ba3a
    Paul Sbarra authored
    The filetype needs to be set during BufRead in order for the did_filetype() check to prevent the file being detected as a conf file.  One example where this can occur is if a cgo file has a #include at the top of the file.  The # is detected in vim's generic configuration (conf file) toward the bottom of filetype.vim
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/5496066
    41f4ba3a
Name
Last commit
Last update
..
IntelliJIDEA Loading commit data...
arm Loading commit data...
bash Loading commit data...
bbedit Loading commit data...
cgo Loading commit data...
chrome/gophertool Loading commit data...
dashboard Loading commit data...
emacs Loading commit data...
fraise Loading commit data...
goplay Loading commit data...
kate Loading commit data...
notepadplus Loading commit data...
osx Loading commit data...
swig Loading commit data...
vim Loading commit data...
windows Loading commit data...
xcode Loading commit data...
zsh Loading commit data...
benchcmp Loading commit data...