aboutsummaryrefslogtreecommitdiffstats
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
parent9c751903c1eaa28cda9843114236b3058293355b (diff)
downloadnvim-conf-0ff16f472027434fcfd8dfaa7883718eb050831d.tar.gz
nvim-conf-0ff16f472027434fcfd8dfaa7883718eb050831d.zip
move the require of main lua to main init from telescope
-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