removed my crude selfwritten bracket autoinserting

This commit is contained in:
Daniel Knüttel 2021-07-06 10:42:13 +02:00
parent b3dbba36ab
commit 5fdd07b5ac
1 changed files with 0 additions and 16 deletions

View File

@ -205,22 +205,6 @@ let g:completion_enable_snippet = 'UltiSnips'
" Use completion-nvim in every buffer
autocmd BufEnter * lua require'completion'.on_attach()
" This function and mapping is basically related
" to autocompletion as well.
" It automatically maps a single bracket to the
" GNU-style formatted bracket.
let g:AutoInsertBracket_enable = 0
function! AutoInsertBracket()
if g:AutoInsertBracket_enable
return "{\n}\<Esc>O"
else
return "{"
endif
endfunction
inoremap <expr> { AutoInsertBracket()
"============================ A Nice Color Scheme ==============================
"===============================================================================