sponsor Vim development Vim logo Vim Book Ad

hier : Highlight quickfix errors and location list entries

 script karma  Rating 14/10, Downloaded by 1450  Comments, bugs, improvements  Vim wiki

created by
Jan Christoph Ebersbach
 
script type
utility
 
description
DESCRIPTION                                               *hier-description*

Highlight quickfix errors and location list entries in buffer. This
plugin was designed to support the editqf vim script (vimscript#3557)
but it also works very well stand alone.

This script can be downloaded from vimscript#3564. The latest
development version is available at https://github.com/jceb/vim-hier.

==========================================================================
USAGE                                                           *hier-usage*

The following commands are provided:
:HierStart " enable hier highlighting
:HierStop " disable hier highlighting
:HierUpdate " update error highlighting for current buffer
:HierClear " remove highlighting - it will be displayed again when :HierUpdate is called

==========================================================================
CUSTOMIZATION                                           *hier-customization*

The highlight group can be customized by setting the following variables.
Setting a variable to the string "" will disable highlighting of that
group. Every type can be highlighted differently (error, warning, info):
let g:hier_highlight_group_qf   = 'SpellBad'
let g:hier_highlight_group_qfw  = 'SpellLocal'
let g:hier_highlight_group_qfi  = 'SpellRare'

let g:hier_highlight_group_loc  = 'SpellBad'
let g:hier_highlight_group_locw = 'SpellLocal'
let g:hier_highlight_group_loci = 'SpellRare'

Enable/disable highlighting highlighting by default:
let g:hier_enabled              = 1
 
install details
1. Download hier.vba
2. Open file in vim and run :so % to install plugin
3. Restart vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
hier.vba 1.3 2011-06-26 7.0 Jan Christoph Ebersbach - fix problem when disabling the highlighting by setting the
  hier_highlight_group variables to the empty string ""
hier.vba 1.2 2011-05-10 7.0 Jan Christoph Ebersbach - add highlighting groups for warning and info entries
- make clearing of highlighting behave more graceful towards other
  plugins
- add function s:Getlist to remove duplicated code
hier.vba.gz 1.1 2011-04-26 7.0 Jan Christoph Ebersbach Initial upload
ip used for rating: 3.145.115.195

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github