commit 745d6fbceca6434ac65e39aee12506942c518631
parent 695877bc7d442af265db4f4bb98adfc6f4a65ba9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 16 Jan 2021 16:46:41 +0100
vim: expandtab in latex
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/after/ftplugin/tex.vim b/vim/after/ftplugin/tex.vim
@@ -13,6 +13,7 @@ setlocal formatoptions-=cat wrap
setlocal foldmethod=indent
setlocal foldexpr=vimtex#fold#level(v:lnum)
setlocal foldtext=vimtex#fold#text()
+setlocal expandtab
let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '')
let b:undo_ftplugin .= 'nmapc <buffer>'
let b:undo_ftplugin .= '|imapc <buffer>'