1
0

Compare commits

...

15 Commits

2 changed files with 11 additions and 6 deletions

View File

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

View File

@@ -30,7 +30,7 @@ filetype plugin on
" indentation " indentation
set tabstop=4 " tabs only count for 4 spaces set tabstop=4 " tabs only count for 4 spaces
set shiftwidth=4 " when indenting use 4 spaces set shiftwidth=4 " when indenting use 4 spaces
set noexpandtab " use tab characters set expandtab " use tab characters
set autoindent set autoindent
" view " view
@@ -59,13 +59,13 @@ endfunction
inoremap <silent><expr> <TAB> inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) : \ coc#pum#visible() ? coc#pum#next(1) :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ CheckBackspace() ? "\<Tab>" : \ CheckBackspace() ? "\<Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
\ coc#refresh() \ coc#refresh()
inoremap <silent><expr> <S-TAB> inoremap <silent><expr> <S-TAB>
\ coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>" \ coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ CheckBackspace() ? "\<S-Tab>" : \ CheckBackspace() ? "\<S-Tab>" :
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#prev()\<CR>" :
\ coc#refresh() \ coc#refresh()
let g:coc_disable_startup_warning = 1 let g:coc_disable_startup_warning = 1