mtth / scratch.vim

Unobtrusive scratch window
MIT License
395 stars 32 forks source link

Error on first exit #24

Closed meain closed 7 years ago

meain commented 7 years ago

error-screenshot

It errors on exiting out for first time, from the next time on it works without any errors

My config

nnoremap <silent><leader>s :ScratchPreview<cr>
let g:scratch_height = 20
let g:scratch_top = 1
let g:scratch_persistence_file = '/tmp/scratch.vim'
let g:scratch_autohide = &hidden
let g:scratch_filetype = 'markdown'
meain commented 7 years ago

Sorry, it was from a different plugin for markdown I was using.

This was causing the issue.