fix: correct filetype assignments (#359)

Docs say that `*.gotext` should be recognized as `gotexttmpl` but that is not the case.

I also changed `*.tmpl` to `gotexttmpl` since that is how I use it - not certain if that would be acceptable to everyone though.
pull/369/head
Manuel 9 months ago committed by GitHub
parent 6550ddf5ce
commit 816fbe43b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,8 @@ set cpo&vim
au BufRead,BufNewFile *.go setfiletype go
au BufRead,BufNewFile *.s setfiletype asm
au BufRead,BufNewFile *.tmpl set filetype=gohtmltmpl
au BufRead,BufNewFile *.tmpl set filetype=gotexttmpl
au BufRead,BufNewFile *.gotext set filetype=gotexttmpl
au BufRead,BufNewFile *.gohtml set filetype=gohtmltmpl
au BufRead,BufNewFile go.sum set filetype=gosum
au BufRead,BufNewFile go.work.sum set filetype=gosum

Loading…
Cancel
Save