Feat: Add Color Configuration (#82)

This MR adds the ability to customize colors for the discussion tree
This commit is contained in:
Harrison (Harry) Cramer
2023-11-07 22:58:03 -05:00
committed by GitHub
parent 6b7e67b325
commit 9742b5b229
7 changed files with 48 additions and 0 deletions

15
after/syntax/gitlab.vim Normal file
View File

@@ -0,0 +1,15 @@
if filereadable($VIMRUNTIME . '/syntax/markdown.vim')
source $VIMRUNTIME/syntax/markdown.vim
endif
syntax match Username "@\w\+"
syntax match Date "\v\d+\s+\w+\s+ago"
syntax match ChevronDown ""
syntax match ChevronRight ""
highlight link Username GitlabUsername
highlight link Date GitlabDate
highlight link ChevronDown GitlabChevron
highlight link ChevronRight GitlabChevron
let b:current_syntax = "gitlab"