Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrien Dorsaz
config
Commits
c45dd6d2
Commit
c45dd6d2
authored
Sep 01, 2021
by
Adrien Dorsaz
Browse files
finally fix sign priority issue and give more fun to coc signs
parent
e2a08378
Changes
2
Hide whitespace changes
Inline
Side-by-side
vim/coc-settings.json
0 → 100644
View file @
c45dd6d2
{
"diagnostic.signPriority"
:
10
,
"git.signPriority"
:
5
,
"diagnostic.errorSign"
:
"💥"
,
"diagnostic.infoSign"
:
"ℹ"
,
"diagnostic.hintSign"
:
"👀"
,
"diagnostic.warningSign"
:
"🧐"
}
vim/vimrc
View file @
c45dd6d2
...
...
@@ -82,6 +82,9 @@ let g:polyglot_disabled = ['autoindent']
" Keyboard
let mapleader = ","
" Always show sign and number
set signcolumn=yes
" CtrlP
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/build/*,*node_modules*,*vendor/bundle/*
...
...
@@ -96,6 +99,13 @@ let g:ctrlp_custom_ignore = {
let g:vimspector_enable_mappings = 'HUMAN'
let g:vimspector_base_dir=expand( '$HOME/.config/vimspector' )
" Ensure break points are always displayed above coc signs
let g:vimspector_sign_priority = {
\ 'vimspectorBP': 15,
\ 'vimspectorBPCond': 15,
\ 'vimspectorBPDisabled': 15,
\ }
" Lightline
set laststatus=2
set noshowmode
...
...
@@ -166,15 +176,6 @@ set updatetime=300
" Coc: Don't pass messages to |ins-completion-menu|.
set shortmess+=c
" Coc: Always show the signcolumn, otherwise it would shift the text each time
" diagnostics appear/become resolved.
if has("patch-8.1.1564")
" Recently vim can merge signcolumn and number column into one
set signcolumn=number
else
set signcolumn=yes
endif
" Coc: Use tab for trigger completion with characters ahead and navigate.
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment