summaryrefslogtreecommitdiff
path: root/vim-latex/ftplugin/latex-suite/packages/url
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@fsinf.at>2011-11-14 00:13:19 +0100
committerDavid Kaufmann <astra@fsinf.at>2011-11-14 00:13:19 +0100
commit14d64785aaac4bb792f31c2fafb7332b74612c9f (patch)
tree77db363a3c174a4a3c1a6f183759de69905b70e3 /vim-latex/ftplugin/latex-suite/packages/url
downloadconfig-14d64785aaac4bb792f31c2fafb7332b74612c9f.tar.gz
init copy
Diffstat (limited to 'vim-latex/ftplugin/latex-suite/packages/url')
-rw-r--r--vim-latex/ftplugin/latex-suite/packages/url24
1 files changed, 24 insertions, 0 deletions
diff --git a/vim-latex/ftplugin/latex-suite/packages/url b/vim-latex/ftplugin/latex-suite/packages/url
new file mode 100644
index 0000000..642148a
--- /dev/null
+++ b/vim-latex/ftplugin/latex-suite/packages/url
@@ -0,0 +1,24 @@
+if exists("url_package_file")
+ finish
+endif
+let url_package_file = 1
+
+let g:TeX_package_option_url =
+\ 'hyphens,'
+\.'obeyspaces,'
+\.'spaces,'
+\.'T1'
+
+let g:TeX_package_url =
+\ 'bra:urlstyle,'
+\.'bra:url,'
+\.'bra:path,'
+\.'bra:urldef'
+
+" TODO uncomment if you figure out
+" 1. how to get this syn command to work every time instead of only the
+" first time this file is sourced.
+" syn region texZone start="\\url{" end="}\|%stopzone\>"
+" syn region texZone start="\\path{" end="}\|%stopzone\>"
+
+" vim:ft=vim:ff=unix: