- Adds support for toggling between discussions and notes views - Deprecates the split view shared with both discussions and notes at the same time - Adds winbar to discussion split, with metadata about resolved and unresolved discussions - Adds help popups with information about keybindings for all views - Modifies highlights in discussion tree and default symbol for unresolved discussions This is a MINOR version bump as the default behavior of the discussion tree is changed slightly. Existing configurations should still function.
20 lines
559 B
VimL
20 lines
559 B
VimL
if filereadable($VIMRUNTIME . '/syntax/markdown.vim')
|
|
source $VIMRUNTIME/syntax/markdown.vim
|
|
endif
|
|
|
|
syntax match Username "@\S*"
|
|
syntax match Date "\v\d+\s+\w+\s+ago"
|
|
syntax match ChevronDown ""
|
|
syntax match ChevronRight ""
|
|
syntax match Resolved "✓$"
|
|
syntax match Unresolved "-$"
|
|
|
|
highlight link Username GitlabUsername
|
|
highlight link Date GitlabDate
|
|
highlight link ChevronDown GitlabChevron
|
|
highlight link ChevronRight GitlabChevron
|
|
highlight link Resolved GitlabResolved
|
|
highlight link Unresolved GitlabUnresolved
|
|
|
|
let b:current_syntax = "gitlab"
|