c++/python nice stuff
This commit is contained in:
parent
e0f5f36519
commit
4769f55fb4
4 changed files with 13 additions and 2 deletions
|
@ -3,4 +3,4 @@
|
|||
# key: cout
|
||||
# contributor: Andrea crotti
|
||||
# --
|
||||
cout << ${1:string} $0<< endl;
|
||||
std::cout << ${1:string} $0<< std::endl;
|
5
c++-mode/ostream
Normal file
5
c++-mode/ostream
Normal file
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: ostream
|
||||
# key: os
|
||||
# --
|
||||
#include <ostream>
|
6
python-mode/pass
Normal file
6
python-mode/pass
Normal file
|
@ -0,0 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: pass
|
||||
# key: ps
|
||||
# --
|
||||
pass
|
||||
$0
|
|
@ -3,4 +3,4 @@
|
|||
# key: super
|
||||
# contributor: Andrea crotti
|
||||
# --
|
||||
super(${1:class}, self).__init__(${2:args})
|
||||
super(${1:Class}, self).${3:function}(${2:args})
|
Loading…
Reference in a new issue