5 Commits

Author SHA1 Message Date
Ingo Karkat
f5dbbe9821 BUG: ingo#buffer#scratch#Create() with existing scratch buffer yields "E95: Buffer with this name already exists" instead of reusing the buffer
Use new a:isFile flag to ingo#escape#file#bufnameescape() and set a:isFullMatch to 1 instead of emulating the full-match for non-existing scratch buffers.
Keep current cursor position when ingo#buffer#scratch#Create() removes the first empty line in the scratch buffer.
2017-05-26 17:36:08 +02:00
Ingo Karkat
b3723b93fd 2017-05-26 17:33:59 +02:00
Ingo Karkat
2b20b89684 BUG: ingo#buffer#scratch#Create() with existing scratch buffer yields "E95: Buffer with this name already exists" instead of reusing the buffer
Use new a:isFile flag to ingo#escape#file#bufnameescape() and set a:isFullMatch to 1 instead of emulating the full-match for non-existing scratch buffers.
2017-05-26 17:33:43 +02:00
Ingo Karkat
3265c58299 Move escapings.vim into ingo-library 2017-05-26 17:27:24 +02:00
Ingo Karkat
ba1259d6de file creation 2017-05-26 17:25:20 +02:00