From 138d3501845aba995966c414692314ea8a5a1a01 Mon Sep 17 00:00:00 2001
From: Ekaitz Zárraga <ekaitz.zarraga@fon.com>
Date: Fri, 12 Feb 2016 16:39:45 +0100
Subject: Latex template

---
 vim/.vim/ftplugin/tex.vim | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 vim/.vim/ftplugin/tex.vim

(limited to 'vim')

diff --git a/vim/.vim/ftplugin/tex.vim b/vim/.vim/ftplugin/tex.vim
new file mode 100644
index 0000000..fc0d53a
--- /dev/null
+++ b/vim/.vim/ftplugin/tex.vim
@@ -0,0 +1,11 @@
+set tabstop=2 softtabstop=0 expandtab shiftwidth=2
+set autoindent
+
+" Test some wrapping on the html
+setlocal textwidth=79
+setlocal formatoptions+=t
+
+" Highlight where the lines are more than 80 characters wide
+setlocal colorcolumn=80
+highlight ColorColumn ctermbg=LightGreen
+
-- 
cgit v1.2.3