aboutsummaryrefslogtreecommitdiff
path: root/dot_vim/ftplugin/latex-suite/packages/newalg
diff options
context:
space:
mode:
Diffstat (limited to 'dot_vim/ftplugin/latex-suite/packages/newalg')
-rw-r--r--dot_vim/ftplugin/latex-suite/packages/newalg26
1 files changed, 26 insertions, 0 deletions
diff --git a/dot_vim/ftplugin/latex-suite/packages/newalg b/dot_vim/ftplugin/latex-suite/packages/newalg
new file mode 100644
index 0000000..1480bb6
--- /dev/null
+++ b/dot_vim/ftplugin/latex-suite/packages/newalg
@@ -0,0 +1,26 @@
+if exists("newalg_package_file")
+ finish
+endif
+let newalg_package_file = 1
+
+let g:TeX_package_option_newalg = ''
+
+let g:TeX_package_newalg =
+\ 'ens:algorithm:{<+name+>}{<++>},'
+\.'ens:IF:{<+cond+>},'
+\.'ens:FOR:{<+loop+>},'
+\.'ens:WHILE:{<+cond+>},'
+\.'bra:ERROR,'
+\.'nor:ELSE,'
+\.'nor:RETURN,'
+\.'nor:NIL,'
+\.'nor:TO,'
+\.'bra:CALL,'
+\.'bra:text,'
+\.'env:REPEAT,'
+\.'env:SWITCH,'
+\.'nor:=,'
+\.'bra:item,'
+\.'nor:algkey'
+
+" vim:ft=vim:ff=unix: