Skip to content

Commit

Permalink
Use "Normal" instead of g:unite_abbr_highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jun 12, 2014
1 parent f3283f8 commit bf49abe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
8 changes: 4 additions & 4 deletions autoload/unite/sources/outline.vim
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,17 @@ let s:default_highlight = {
\ 'id' : 'Special',
\ 'macro' : 'Macro',
\ 'method' : 'Function',
\ 'normal' : g:unite_abbr_highlight,
\ 'package' : g:unite_abbr_highlight,
\ 'normal' : 'Normal',
\ 'package' : 'Normal',
\ 'special' : 'Macro',
\ 'type' : 'Type',
\ 'level_1' : 'Type',
\ 'level_2' : 'PreProc',
\ 'level_3' : 'Identifier',
\ 'level_4' : 'Constant',
\ 'level_5' : 'Special',
\ 'level_6' : g:unite_abbr_highlight,
\ 'parameter_list': g:unite_abbr_highlight,
\ 'level_6' : 'Normal',
\ 'parameter_list': 'Normal',
\ }
if !exists('g:unite_source_outline_highlight')
let g:unite_source_outline_highlight = {}
Expand Down
11 changes: 5 additions & 6 deletions doc/unite-outline.jax
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,17 @@ License : MIT license {{{
\ 'id' : 'Special',
\ 'macro' : 'Macro',
\ 'method' : 'Function',
\ 'normal' : g:unite_abbr_highlight,
\ 'package' : g:unite_abbr_highlight,
\ 'normal' : 'Normal',
\ 'package' : 'Normal',
\ 'special' : 'Macro',
\ 'type' : 'Type',
\ 'level_1' : 'Type',
\ 'level_2' : 'PreProc',
\ 'level_3' : 'Identifier',
\ 'level_4' : 'Constant',
\ 'level_5' : 'Special',
\ 'level_6' : g:unite_abbr_highlight,
\ 'parameter_list': g:unite_abbr_highlight,
\ 'level_6' : 'Normal',
\ 'parameter_list': 'Normal',
\ }
<
ハイライトを適用する部分を指定するためのパターンは、個々のファ
Expand Down Expand Up @@ -775,8 +775,7 @@ HOOKS ~

{name} に関連付けられたハイライトグループ名を返します。
関連付けがない場合は、引数を順次調べ関連付けを探します。関連付
けが最後まで見つからなかった場合は |g:unite_abbr_highlight|
値を返します。
けが最後まで見つからなかった場合は "Normal" の値を返します。

ハイライトグループ名への関連付けについては
|g:unite_source_outline_highlight| を参照
Expand Down
12 changes: 6 additions & 6 deletions doc/unite-outline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,17 +244,17 @@ VARIABLES *unite-outline-variables*
\ 'id' : 'Special',
\ 'macro' : 'Macro',
\ 'method' : 'Function',
\ 'normal' : g:unite_abbr_highlight,
\ 'package' : g:unite_abbr_highlight,
\ 'normal' : 'Normal',
\ 'package' : 'Normal',
\ 'special' : 'Macro',
\ 'type' : 'Type',
\ 'level_1' : 'Type',
\ 'level_2' : 'PreProc',
\ 'level_3' : 'Identifier',
\ 'level_4' : 'Constant',
\ 'level_5' : 'Special',
\ 'level_6' : g:unite_abbr_highlight,
\ 'parameter_list': g:unite_abbr_highlight,
\ 'level_6' : 'Normal',
\ 'parameter_list': 'Normal',
\ }
<
The patterns to specify the regions to be highlighted are
Expand Down Expand Up @@ -821,8 +821,8 @@ FUNCTIONS *unite-outline-functions*

Returns a highlight group name associated with {name}.
If {name} has no association, tries following arguments until
the association is found. If not found finally, returns the
value of |g:unite_abbr_highlight|.
the association is found. If not found finally, returns
"Normal".

See |g:unite_source_outline_highlight|.

Expand Down

0 comments on commit bf49abe

Please sign in to comment.