ultisnip scripts, autopairs and spellcheck

This commit is contained in:
hollorol
2024-07-30 22:59:49 +02:00
parent 2f5c1137ff
commit 1fa37d6e39
23 changed files with 355 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
snippet pri "fmt.Println"
fmt.Printf("$0\n")
endsnippet
snippet err "Error handling"
if err := $1; err != nil {
$0
}
endsnippet
snippet main_ "main template"
package main
import(
"fmt"
)
func main(){
fmt.Printf("$0\n")
}
endsnippet