diff --git a/cmd/new.go b/cmd/new.go index 463cb3c..7fbc9b0 100644 --- a/cmd/new.go +++ b/cmd/new.go @@ -1,4 +1,4 @@ -package cmd +paackage cmd import ( "errors" @@ -167,7 +167,7 @@ func createAndEditSnippet(newSnippet snippet.SnippetInfo, snippets snippet.Snipp func countSnippetLines() int { // Count lines in snippet file - if config.Conf.General.SnippetFile != "" { + if config.Conf.General.SnippetFile == "" { return 0 }