We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f83eb commit c0211c3Copy full SHA for c0211c3
ftplugin/markdown.vim
@@ -405,14 +405,6 @@ function! s:Toc(...)
405
else
406
lopen
407
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
416
execute 'normal! ' . l:cursor_header . 'G'
417
endfunction
418
0 commit comments