From e019b5a3213e078358bdce1d098ec9eb939f16a8 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 11 Oct 2021 09:50:14 +0200 Subject: Improvements --- init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index e66c5ef..bc7f9fd 100644 --- a/init.vim +++ b/init.vim @@ -25,12 +25,13 @@ autocmd BufWritePre * %s/\s\+$//e augroup fmtphp autocmd! - autocmd BufWritePre *.php undojoin | lua vim.lsp.buf.formatting() + autocmd BufWritePre *.php undojoin augroup END filetype plugin indent on autocmd FileType yaml setl indentkeys-=<:> autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab +autocmd FileType cucumber setlocal ts=2 sts=2 sw=2 expandtab nnoremap Y y$ -- cgit v1.2.3