diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2024-01-12 19:51:00 -0500 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2024-01-12 19:51:00 -0500 |
| commit | 02e1c9be35e13e26b34bbfd680e18f3093ee2949 (patch) | |
| tree | d685a48185e8e6092d41d2cd03c678dc19b214ef /.config/nvim/syntax/qf.vim | |
| parent | 803274ed25384b4ffb134f35c910347c022999fd (diff) | |
ultimate yak shave: custom colorscheme
Diffstat (limited to '.config/nvim/syntax/qf.vim')
| -rw-r--r-- | .config/nvim/syntax/qf.vim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/syntax/qf.vim b/.config/nvim/syntax/qf.vim new file mode 100644 index 0000000..40d5dbb --- /dev/null +++ b/.config/nvim/syntax/qf.vim @@ -0,0 +1,23 @@ +if exists('b:current_syntax') + finish +endif + +syn match qfFileName /^[^│]*/ nextgroup=qfSeparatorLeft +syn match qfSeparatorLeft /│/ contained nextgroup=qfLineNr +syn match qfLineNr /[^│]*/ contained nextgroup=qfSeparatorRight +syn match qfSeparatorRight '│' contained nextgroup=qfError,qfWarning,qfInfo,qfNote +syn match qfError / E .*$/ contained +syn match qfWarning / W .*$/ contained +syn match qfInfo / I .*$/ contained +syn match qfNote / [NH] .*$/ contained + +hi def link qfFileName Directory +hi def link qfSeparatorLeft Delimiter +hi def link qfSeparatorRight Delimiter +hi def link qfLineNr LineNr +hi def link qfError DiagnosticError +hi def link qfWarning DiagnosticWarn +hi def link qfInfo DiagnosticInfo +hi def link qfNote DiagnosticHint + +let b:current_syntax = 'qf' |
