From a5d006513fde860d42c01617ed047c2cb98212e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 1 Feb 2017 13:07:12 +0100 Subject: [PATCH] Improve syntax (due to linter warnings) --- indent/tex.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indent/tex.vim b/indent/tex.vim index e980c18..36ad3fe 100644 --- a/indent/tex.vim +++ b/indent/tex.vim @@ -16,8 +16,8 @@ call vimtex#util#set_default('g:vimtex_indent_ignored_envs', [ \ 'document', \]) -let s:cpo_save = &cpo -set cpo&vim +let s:cpo_save = &cpoptions +set cpoptions&vim setlocal autoindent setlocal indentexpr=VimtexIndent(v:lnum) @@ -267,7 +267,7 @@ endfunction " }}}1 -let &cpo = s:cpo_save +let &cpoptions = s:cpo_save unlet s:cpo_save " vim: fdm=marker sw=2