• Josh Hoak's avatar
    misc/vim: Adding flag-guarding for Vim commands · b76ddefe
    Josh Hoak authored
    Default behavior is the same as before, but now a user may selectively disable some commands.
    
    Also: deleted the mappings for import.vim.
    
    Tested: by trying the commands for fmt, import and godoc in succession to make sure they still work. Also, ran test.sh in ftplugin/go.
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/10124043
    b76ddefe
fmt.vim 1.62 KB