1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 11:30:29 +01:00

Remove trailing newline for python snippets

This commit is contained in:
2020-06-05 10:42:30 +02:00
parent 987da2fb04
commit 51dc27dcf3

View File

@@ -1,25 +1,18 @@
snippet #! snippet #!
#!/usr/bin/env python #!/usr/bin/env python
snippet #!2 snippet #!2
#!/usr/bin/env python2 #!/usr/bin/env python2
# coding: utf-8 # coding: utf-8
snippet utf snippet utf
# coding: utf-8 # coding: utf-8
snippet #!3 snippet #!3
#!/usr/bin/env python3 #!/usr/bin/env python3
snippet dbg Python Debugger abbrv snippet dbg Python Debugger abbrv
__import__('pdb').set_trace() __import__('pdb').set_trace()
snippet ipdb ipdb abbrv snippet ipdb ipdb abbrv
__import__('ipdb').set_trace() __import__('ipdb').set_trace()
snippet rpdb remote_pdb debbuger snippet rpdb remote_pdb debbuger
__import__('remote_pdb').set_trace() __import__('remote_pdb').set_trace()
snippet msg Tk graphical message snippet msg Tk graphical message
from Tkinter import Tk from Tkinter import Tk
import ttk import ttk
@@ -30,6 +23,5 @@ snippet msg Tk graphical message
tkMessageBox.showinfo(title="${1:title}", tkMessageBox.showinfo(title="${1:title}",
message="${2:msg}", message="${2:msg}",
parent=window) parent=window)
snippet _ Dunder completion snippet _ Dunder completion
__${1:init}__$0 __${1:init}__$0