diff options
Diffstat (limited to 'nvim/mySnippets/all.snippets')
-rw-r--r-- | nvim/mySnippets/all.snippets | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nvim/mySnippets/all.snippets b/nvim/mySnippets/all.snippets deleted file mode 100644 index 8094025..0000000 --- a/nvim/mySnippets/all.snippets +++ /dev/null @@ -1,25 +0,0 @@ -global !p -def make_comment(): - b, e = vim.eval("&commentstring").split( '%s' ) - return b, e -endglobal - -snippet todo "A universal TODO reminder" b -`!p -comment = make_comment() -snip.rv = comment[ 0 ] -` TODO: ${1:desc} (`!v $USER`, `!v strftime("%c")`) `!p -comment = make_comment() -snip.rv = comment[ 1 ]` -$0 -endsnippet - -snippet fix "A universal FIXME reminder" b -`!p -comment = make_comment() -snip.rv = comment[ 0 ] -` FIXME: ${1:desc} (`!v $USER`, `!v strftime("%c")`) `!p -comment = make_comment() -snip.rv = comment[ 1 ]` -$0 -endsnippet |