Compare commits
16
Commits
master
...
9f67c16187
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f67c16187 | ||
|
|
740e378a93 | ||
|
|
f9315e5aaf | ||
|
|
a242455732 | ||
|
|
7242d257d0 | ||
|
|
21d0beb2d9 | ||
|
|
1d7d4d0146 | ||
|
|
1b4ebe2c7c | ||
|
|
e33e6f476d | ||
|
|
8b66bc02b8 | ||
|
|
c10ba7c8a8 | ||
|
|
f7a88e4431 | ||
|
|
be250e2d9c | ||
|
|
c6d32f2b0f | ||
|
|
58eea72762 | ||
|
|
d508759e33 |
@@ -9,6 +9,11 @@
|
||||
"command": "/sbin/texlab",
|
||||
"filetypes": [ "tex","bib","plaintex","context" ]
|
||||
},
|
||||
"bash": {
|
||||
"command": "bash-language-server",
|
||||
"args": ["start"],
|
||||
"filetypes": ["sh","bash"]
|
||||
},
|
||||
"golang": {
|
||||
"command": "gopls",
|
||||
"rootPatterns": ["go.mod"],
|
||||
|
||||
@@ -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 noexpandtab " use tab characters
|
||||
set expandtab " use tab characters
|
||||
set autoindent
|
||||
|
||||
" view
|
||||
@@ -58,14 +58,14 @@ function! CheckBackspace() abort
|
||||
endfunction
|
||||
|
||||
inoremap <silent><expr> <TAB>
|
||||
\ coc#pum#visible() ? coc#pum#next(1) :
|
||||
\ coc#pum#visible() ? coc#pum#next(1) :
|
||||
\ CheckBackspace() ? "\<Tab>" :
|
||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#snippet#next()\<CR>" :
|
||||
\ CheckBackspace() ? "\<Tab>" :
|
||||
\ coc#refresh()
|
||||
\ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user