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