Skip to content

Commit c0211c3

Browse files
committed
Drop localist modification for other quickfix list plugins
1 parent c3f83eb commit c0211c3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ftplugin/markdown.vim

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -405,14 +405,6 @@ function! s:Toc(...)
405405
else
406406
lopen
407407
endif
408-
setlocal modifiable
409-
for i in range(1, line('$'))
410-
" this is the location-list data for the current item
411-
let d = getloclist(0)[i-1]
412-
call setline(i, d.text)
413-
endfor
414-
setlocal nomodified
415-
setlocal nomodifiable
416408
execute 'normal! ' . l:cursor_header . 'G'
417409
endfunction
418410

0 commit comments

Comments
 (0)