Skip to content

Commit

Permalink
marks: Don't use own ID generator
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom committed Nov 11, 2010
1 parent 3955f7c commit 05b7efa
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions autoload/quickfixsigns/marks.vim
Expand Up @@ -4,7 +4,7 @@
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2010-05-08.
" @Last Change: 2010-11-11.
" @Revision: 14
" @Revision: 15

if index(g:quickfixsigns_classes, 'marks') == -1
finish
Expand All @@ -20,7 +20,6 @@ if !exists('g:quickfixsigns_class_marks')
\ 'event': g:quickfixsigns_events,
\ 'timeout': 2
\ }
" \ 'id': 'quickfixsigns#marks#GetID',
endif
if !&lazyredraw && !empty(g:quickfixsigns_class_marks)
let s:cmn = index(g:quickfixsigns_class_marks.event, 'CursorMoved')
Expand Down Expand Up @@ -73,15 +72,3 @@ function! quickfixsigns#marks#GetSign(item) "{{{3
endf


" function! quickfixsigns#marks#GetID(item) "{{{3
" let bufnr = bufnr('%')
" let item = filter(values(g:quickfixsigns_register), 'v:val.bufnr == bufnr && get(v:val.item, "text", "") ==# get(a:item, "text", "")')
" if empty(item)
" return g:quickfixsigns_base + a:item.bufnr * 67 + char2nr(get(a:item, "text", "")[-1 : -1]) - 65
" else
" " TLogVAR item
" return item[0].id
" endif
" endf


0 comments on commit 05b7efa

Please sign in to comment.