aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.vim11
-rw-r--r--plugin/telescope.vim2
2 files changed, 7 insertions, 6 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
diff --git a/plugin/telescope.vim b/plugin/telescope.vim
index 2a82845..ff50fe1 100644
--- a/plugin/telescope.vim
+++ b/plugin/telescope.vim
@@ -1,5 +1,3 @@
-lua require("alpha")
-
let g:telescope_cache_results = 1
let g:telescope_prime_fuzzy_find = 1