Skip to content

Commit

Permalink
Capitalise NONE for consistency
Browse files Browse the repository at this point in the history
Although group names are case-insensitive:

- Vim's docs use NONE;
- the code already uses NONE elsewhere.
  • Loading branch information
airblade committed Feb 2, 2022
1 parent 6039b37 commit e9871cf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions autoload/gitgutter/highlight.vim
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ function! s:define_sign_line_highlights() abort
sign define GitGutterLineRemovedAboveAndBelow linehl=GitGutterDeleteLine
sign define GitGutterLineModifiedRemoved linehl=GitGutterChangeDeleteLine
else
sign define GitGutterLineAdded linehl=None
sign define GitGutterLineModified linehl=None
sign define GitGutterLineRemoved linehl=None
sign define GitGutterLineRemovedFirstLine linehl=None
sign define GitGutterLineRemovedAboveAndBelow linehl=None
sign define GitGutterLineModifiedRemoved linehl=None
sign define GitGutterLineAdded linehl=NONE
sign define GitGutterLineModified linehl=NONE
sign define GitGutterLineRemoved linehl=NONE
sign define GitGutterLineRemovedFirstLine linehl=NONE
sign define GitGutterLineRemovedAboveAndBelow linehl=NONE
sign define GitGutterLineModifiedRemoved linehl=NONE
endif
endfunction

Expand All @@ -195,12 +195,12 @@ function! s:define_sign_linenr_highlights() abort
sign define GitGutterLineRemovedAboveAndBelow numhl=GitGutterDeleteLineNr
sign define GitGutterLineModifiedRemoved numhl=GitGutterChangeDeleteLineNr
else
sign define GitGutterLineAdded numhl=None
sign define GitGutterLineModified numhl=None
sign define GitGutterLineRemoved numhl=None
sign define GitGutterLineRemovedFirstLine numhl=None
sign define GitGutterLineRemovedAboveAndBelow numhl=None
sign define GitGutterLineModifiedRemoved numhl=None
sign define GitGutterLineAdded numhl=NONE
sign define GitGutterLineModified numhl=NONE
sign define GitGutterLineRemoved numhl=NONE
sign define GitGutterLineRemovedFirstLine numhl=NONE
sign define GitGutterLineRemovedAboveAndBelow numhl=NONE
sign define GitGutterLineModifiedRemoved numhl=NONE
endif
catch /E475/
endtry
Expand Down

0 comments on commit e9871cf

Please sign in to comment.