+dsymonds Good question. I can't tell if there are actual "godoc files" or just cli output from the godoc tool is sometimes passed to a vim buffer.
I wouldn't mind keeping that file out for a later patch if there's no quick ftdetect rule. I don't like defining new filetypes without at least configuring comments, commentstring, and formatoptions anyway. David On Fri, Aug 22, 2014 at 8:42 AM, Bram Moolenaar <[email protected]> wrote: > > David Barnett wrote: > > > I've attached a patch to add a "go" filetype to vim, with syntax > > highlighting and filetype configuration. I also updated the > > vim-ft-vroom repo URL to point to the renamed repo while I'm at it > > ("vim-ft.vroom"->"vim-ft-vroom"). > > > > These files originally came from the golang repository and are > > currently maintained at https://github.com/google/vim-ft-go. The files > > are under a BSD license there, but I've obtained approval from Google > > to include them in vim under the Vim license. > > I know that a Go file ends in .go. You also included a godoc syntax > file, how do we recognize a godoc file? > > -- > Microsoft is to software what McDonalds is to gourmet cooking > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net > \\\ > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ > \\\ > \\\ an exciting new programming language -- http://www.Zimbu.org > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
