Skip to content

Commit

Permalink
Add HardLink highlight group
Browse files Browse the repository at this point in the history
It is applied to regular files with more than one hard link.

Patch by Hans Bieshaar.
  • Loading branch information
xaizek committed May 27, 2020
1 parent 5b6291f commit d7213e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion doc/app/vifm-app.txt
@@ -1,4 +1,4 @@
*vifm-app.txt* For Vifm version 0.10.1 Last change: 2020 May 21
*vifm-app.txt* For Vifm version 0.10.1 Last change: 2020 May 26

Email for bugs and suggestions: <xaizek@posteo.net>

Expand Down Expand Up @@ -1787,6 +1787,7 @@ Available group-name values:
- Directory - color of directories
- Link - color of symbolic links in the views
- BrokenLink - color of broken symbolic links
- HardLink - color of regular files with more than one hard link
- Socket - color of sockets
- Device - color of block and character devices
- Executable - color of executable files
Expand Down Expand Up @@ -1937,6 +1938,7 @@ transparency:
Directory
Link
BrokenLink
HardLink
Socket
Device
Fifo
Expand Down
4 changes: 2 additions & 2 deletions syntax/vifm.vim
@@ -1,6 +1,6 @@
" vifm syntax file
" Maintainer: xaizek <xaizek@posteo.net>
" Last Change: May 17, 2020
" Last Change: May 26, 2020
" Inspired By: Vim syntax file by Dr. Charles E. Campbell, Jr.

if exists('b:current_syntax')
Expand Down Expand Up @@ -87,7 +87,7 @@ syntax case ignore
syntax keyword vifmHiGroups contained WildMenu Border Win CmdLine CurrLine
\ OtherLine Directory Link Socket Device Executable Selected BrokenLink
\ TopLine TopLineSel StatusLine JobLine SuggestBox Fifo ErrorMsg CmpMismatch
\ AuxWin OtherWin TabLine TabLineSel
\ AuxWin OtherWin TabLine TabLineSel HardLink
\ User1 User2 User3 User4 User5 User6 User7 User8 User9
syntax keyword vifmHiStyles contained
\ bold underline reverse inverse standout italic none
Expand Down

0 comments on commit d7213e4

Please sign in to comment.