diff --git a/home/editors/coc.vim b/home/editors/coc.vim index ed643fd..13950dd 100644 --- a/home/editors/coc.vim +++ b/home/editors/coc.vim @@ -7,14 +7,14 @@ set shortmess+=c " Use tab for trigger completion with characters ahead and navigate. " Use command ':verbose imap ' to make sure tab is not mapped by other plugin. inoremap - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : - \ coc#refresh() + \ pumvisible() ? "\" : + \ check_back_space() ? "\" : + \ coc#refresh() inoremap pumvisible() ? "\" : "\" 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 to trigger completion. diff --git a/home/editors/init.vim b/home/editors/init.vim index fba9e22..3aab00a 100644 --- a/home/editors/init.vim +++ b/home/editors/init.vim @@ -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