]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ultisnips/rospy.snippets
vim: add ultisnips for rospy and roscfg
[dotfiles.git] / vim / ultisnips / rospy.snippets
diff --git a/vim/ultisnips/rospy.snippets b/vim/ultisnips/rospy.snippets
new file mode 100644 (file)
index 0000000..e303186
--- /dev/null
@@ -0,0 +1,19 @@
+snippet debug "Log Debug" b
+rospy.logdebug(${0:"message"})
+endsnippet
+
+snippet info "Log Info" b
+rospy.loginfo(${0:"message"})
+endsnippet
+
+snippet warn "Log Warning" b
+rospy.logwarn(${0:"message"})
+endsnippet
+
+snippet err "Log Error" b
+rospy.logerr(${0:"message"})
+endsnippet
+
+snippet fatal "Log Fatal" b
+rospy.logfatal(${0:"message"})
+endsnippet