diff --git a/.gitignore b/.gitignore index 9649092..0f2801c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,31 @@ # debos command /debos -# Created by https://www.gitignore.io/api/vim,linux,go +# Created by https://www.toptal.com/developers/gitignore/api/go,linux,vim +# Edit at https://www.toptal.com/developers/gitignore?templates=go,linux,vim ### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# # Binaries for programs and plugins *.exe +*.exe~ *.dll *.so *.dylib -# Test binary, build with `go test -c` +# Test binary, built with `go test -c` *.test # Output of the go coverage tool, specifically when used with LiteIDE *.out -# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 -.glide/ +# Dependency directories (remove the comment below to include it) +# vendor/ -# Golang project vendor packages which should be ignored -vendor/ +# Go workspace file +go.work ### Linux ### *~ @@ -38,16 +43,23 @@ vendor/ .nfs* ### Vim ### -# swap +# Swap [._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files [._]*.sw[a-p] -[._]s[a-v][a-z] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] [._]sw[a-p] -# session -Session.vim -# temporary -.netrwhist -# auto-generated tag files -tags -# End of https://www.gitignore.io/api/vim,linux,go +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +# End of https://www.toptal.com/developers/gitignore/api/go,linux,vim