aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
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$