aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-10-11 09:50:14 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-10-11 09:50:14 +0200
commite019b5a3213e078358bdce1d098ec9eb939f16a8 (patch)
tree978048ea2926c5fcae2c4abb93f02e78045335a8 /init.vim
parent10b83cc1dbf6c7562b1bdf26cdfda8876600a17f (diff)
downloadnvim-conf-e019b5a3213e078358bdce1d098ec9eb939f16a8.tar.gz
nvim-conf-e019b5a3213e078358bdce1d098ec9eb939f16a8.zip
Improvements
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim3
1 files changed, 2 insertions, 1 deletions
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$