1
0

Compare commits

..

3 Commits

2 changed files with 6 additions and 15 deletions

View File

@@ -8,11 +8,6 @@
"latex": {
"command": "/sbin/texlab",
"filetypes": [ "tex","bib","plaintex","context" ]
},
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh","bash"]
},
"golang": {
"command": "gopls",

View File

@@ -30,7 +30,7 @@ filetype plugin on
" indentation
set tabstop=4 " tabs only count for 4 spaces
set shiftwidth=4 " when indenting use 4 spaces
set expandtab " use tab characters
set noexpandtab " use tab characters
set autoindent
" view
@@ -59,13 +59,13 @@ endfunction
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ CheckBackspace() ? "\<Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ coc#refresh()
inoremap <silent><expr> <S-TAB>
\ coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ coc#pum#visible() ? coc#pum#prev(1) :
\ CheckBackspace() ? "\<S-Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ coc#refresh()
let g:coc_disable_startup_warning = 1
@@ -99,10 +99,6 @@ nmap <silent><nowait> gy <Plug>(coc-type-definition)
nmap <silent><nowait> gi <Plug>(coc-implementation)
nmap <silent><nowait> gr <Plug>(coc-references)
" Temporary!!! Remove after CoC update
let storage_file = stdpath('data') . '/coc-localstorage'
let g:coc_node_args = ['--localstorage-file=' . storage_file]
" syntax highlighting
syntax on
set background=dark