Skip to content

Commit

Permalink
- Clear mark.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed May 21, 2012
1 parent 9be760b commit a316efb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion autoload/unite.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"=============================================================================
" FILE: unite.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 17 May 2012.
" Last Modified: 21 May 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -1294,6 +1294,13 @@ function! s:quit_session(is_force) "{{{

let key = unite#loaded_source_names_string()

" Clear mark.
for source in unite#loaded_sources_list()
for candidate in source.unite__cached_candidates
let candidate.unite__is_marked = 0
endfor
endfor

" Save position.
let positions = unite#get_profile(
\ unite.profile_name, 'unite__save_pos')
Expand Down
3 changes: 3 additions & 0 deletions doc/unite.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2463,6 +2463,9 @@ https://github.com/Shougo/unite.vim/wiki/unite-plugins
==============================================================================
CHANGELOG *unite-changelog*

2012-05-21
- Clear mark.

2012-05-19
- Fixed unite#util#glob().

Expand Down
4 changes: 2 additions & 2 deletions syntax/unite.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"=============================================================================
" FILE: syntax/unite.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 26 Mar 2012.
" Last Modified: 21 May 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -42,7 +42,7 @@ syntax match uniteSourceArgs /:\S\+/ contained

syntax match uniteQuickMatchLine /^.|.*/
\ contains=uniteQuickMatchTrigger,uniteCandidateSourceName,uniteCandidateAbbr
syntax match uniteMarkedLine /^\*.*/
syntax region uniteMarkedLine start=/^\*/ end='$'
syntax match uniteNonMarkedLine /^- .*/
\ contains=uniteCandidateMarker,uniteCandidateSourceName,uniteCandidateAbbr
syntax match uniteCandidateMarker /^- / contained
Expand Down

0 comments on commit a316efb

Please sign in to comment.