We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have both vim-template to use some custom Go template, and vim-go. When opening I get some strange mix of the two.
Example: vim test.go (new file)
vim test.go
package main import "fmt" func main() { fmt.Println("vim-go") } package main; import ( "fmt" ) func main(){ fmt.Println("Hello World");
If that doesn't work, try edit the =template=.go file under ~/.vim/plugged/vim-template/templates or similar.
Latest vim-go as of now. Not sure which version though. go version go1.7.4 linux/amd64
The text was updated successfully, but these errors were encountered:
Put following line in your vimrc:
vimrc
let g:go_template_autocreate = 0
Sorry, something went wrong.
Aha! Thanks, will do =)
No branches or pull requests
Behavior
I have both vim-template to use some custom Go template, and vim-go.
When opening I get some strange mix of the two.
Example:
vim test.go
(new file)Steps to reproduce:
If that doesn't work, try edit the =template=.go file under ~/.vim/plugged/vim-template/templates or similar.
Configuration
Latest vim-go as of now. Not sure which version though.
go version go1.7.4 linux/amd64
The text was updated successfully, but these errors were encountered: