]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
orgmode sql yasnippets fixes
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 16 Dec 2016 11:03:39 +0000 (12:03 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 16 Dec 2016 11:03:39 +0000 (12:03 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
snippets/org-mode/sql
snippets/org-mode/sqlvertica

index af04c4dd6e80b8807b7ec58eb9e7559409c0b450..79b73b8182a1312433f8e2bac4d2c6c55d4c9a2a 100644 (file)
@@ -2,6 +2,6 @@
 # name: sql
 # key: sql_
 # --
-#+begin_src sql $0
+#+BEGIN_SRC sql $0
 
-#+end_src
\ No newline at end of file
+#+END_SRC
index 81a10bcff9599488f7b6ef1af36493646c5914f4..4ec83449d572ff5d7f6ec8a520e3269e9e6d89c7 100644 (file)
@@ -4,7 +4,7 @@
 # key: sqlvertica
 # --
 :PROPERTIES:
-:header-args:sql: :engine: vertica :dbhost: ${1:localhost} :dbuser: ${2:user} :dbpassword: (if (boundp '${3:bba-db})(concat $3)) :database: ${4:$2}
+:header-args:sql: :engine vertica :dbhost ${1:localhost} :dbuser ${2:user} :dbpassword `(if (boundp '${3:bba-db})(concat $3))` :database ${4:$2}
 :exports: both
 :eval: never-export
 :END: