aboutsummaryrefslogtreecommitdiffstats
path: root/init.vim
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-10-25 15:54:45 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-10-25 15:54:45 +0200
commit0ff16f472027434fcfd8dfaa7883718eb050831d (patch)
tree6f8cec543ee877ec6b8d81d4257795b9e370debc /init.vim
parent9c751903c1eaa28cda9843114236b3058293355b (diff)
downloadnvim-conf-0ff16f472027434fcfd8dfaa7883718eb050831d.tar.gz
nvim-conf-0ff16f472027434fcfd8dfaa7883718eb050831d.zip
move the require of main lua to main init from telescope
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim11
1 files changed, 7 insertions, 4 deletions
diff --git a/init.vim b/init.vim
index 59a6867..727093d 100644
--- a/init.vim
+++ b/init.vim
@@ -23,14 +23,15 @@ vnoremap <leader>p "_dP
" remove whitespaces
autocmd BufWritePre * %s/\s\+$//e
-augroup fmtphp
- autocmd!
- autocmd BufWritePre filetype php undojoin | lua vim.lsp.buf.formatting()
-augroup END
+" augroup fmtphp
+" autocmd!
+" autocmd BufWritePre filetype php undojoin | lua vim.lsp.buf.formatting()
+" 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 setl indentkeys-=<:>
autocmd FileType cucumber setlocal ts=2 sts=2 sw=2 expandtab
nnoremap Y y$
@@ -46,5 +47,7 @@ inoremap ? ?<c-g>u
inoremap $ $<c-g>u
inoremap > ><c-g>u
+lua require("alpha")
+
" Has to be the last line for the .nvimrc per project
set secure