aboutsummaryrefslogtreecommitdiffstats
path: root/init-old.vim
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-02-21 09:10:19 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-02-21 09:10:19 +0100
commit4436aa839848958eab53487c1db1bb1d00c444e0 (patch)
treec99ac34b9766881c7c110fa4acf8d4e619b20e8b /init-old.vim
parent291dd0219906c19b5eb1b75719b6fa6210e37ce7 (diff)
downloadnvim-conf-4436aa839848958eab53487c1db1bb1d00c444e0.tar.gz
nvim-conf-4436aa839848958eab53487c1db1bb1d00c444e0.zip
add format files for types, remove alreade included things from the old
Diffstat (limited to 'init-old.vim')
-rw-r--r--init-old.vim15
1 files changed, 1 insertions, 14 deletions
diff --git a/init-old.vim b/init-old.vim
index 3fcdf88..841a685 100644
--- a/init-old.vim
+++ b/init-old.vim
@@ -12,23 +12,10 @@ nnoremap <Leader><CR> :so ~/.config/nvim/init.vim<CR>
" forward and backward search of current word
" format json files
-autocmd BufWritePre *stubs/**/*.json :%!jq
-
-" 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
+" autocmd BufWritePre *stubs/**/*.json :%!jq
autocmd BufWritePost */alpha/**.lua lua require('plenary.reload').reload_module('alpha')
-lua require("alpha")
-
" quick duplication of files
let g:laravel_artisan = 'sail artisan'