diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-20 00:53:39 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-20 03:50:24 -0400 |
commit | 41413ffceab7fc9969c4d1fa77e2f44ac5b86a76 (patch) | |
tree | db5df27317b101a251b5d2c5fcb22850a9d03ee4 /vim/snippets/python.snippets | |
parent | 12148e261d83b96c25f440ea41c7633ca281b7b2 (diff) | |
download | conf-41413ffceab7fc9969c4d1fa77e2f44ac5b86a76.tar.gz conf-41413ffceab7fc9969c4d1fa77e2f44ac5b86a76.zip |
clean up snippets a bit
Diffstat (limited to 'vim/snippets/python.snippets')
-rw-r--r-- | vim/snippets/python.snippets | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vim/snippets/python.snippets b/vim/snippets/python.snippets index 4887167..fc0dd70 100644 --- a/vim/snippets/python.snippets +++ b/vim/snippets/python.snippets @@ -1,8 +1,8 @@ snippet test - import unittest - - ${1} - - class ${2:`join(map(split(matchstr(expand("%"), '^t\(ests\?\)\?/\zs.*\ze\.py'), '_'), 'toupper(v:val[0]) . v:val[1:]'), '')`}(unittest.TestCase): - def test_${3}(self): - ${4} + import unittest + + ${1} + + class ${2:`join(map(split(matchstr(expand("%"), '^t\(ests\?\)\?/\zs.*\ze\.py'), '_'), 'toupper(v:val[0]) . v:val[1:]'), '')`}(unittest.TestCase): + def test_${3}(self): + ${0} |