feat(neovim): cleanup init.vim

This commit is contained in:
Felix Schröter 2020-03-18 11:23:35 +01:00
parent 8be95405d3
commit 89bbde3b98
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
2 changed files with 5 additions and 9 deletions

View file

@ -7,14 +7,14 @@ set shortmess+=c
" Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
" Use <c-space> to trigger completion.

View file

@ -67,10 +67,6 @@ let g:ale_linters = {
\ 'cs': ['OmniSharp']
\ }
" nvim-lsp using neovim's official LSP interface
" call nvim_lsp#setup("tsserver", {})
" call nvim_lsp#setup("ghcide", {})
set relativenumber
set splitbelow