Allow remarking regular lines if needed
This commit is contained in:
parent
d1ad73559e
commit
aba33190b6
@ -1272,7 +1272,8 @@ endf
|
|||||||
fu! s:remarksigns()
|
fu! s:remarksigns()
|
||||||
if !s:dosigns() | retu | en
|
if !s:dosigns() | retu | en
|
||||||
for ic in range(1, len(s:lines))
|
for ic in range(1, len(s:lines))
|
||||||
let key = s:dictindex(s:marked, fnamemodify(s:lines[ic - 1], ':p'))
|
let line = s:ispath ? fnamemodify(s:lines[ic - 1], ':p') : s:lines[ic - 1]
|
||||||
|
let key = s:dictindex(s:marked, line)
|
||||||
if key > 0
|
if key > 0
|
||||||
exe 'sign place' key 'line='.ic.' name=ctrlpmark buffer='.s:bufnr
|
exe 'sign place' key 'line='.ic.' name=ctrlpmark buffer='.s:bufnr
|
||||||
en
|
en
|
||||||
|
Loading…
Reference in New Issue
Block a user