Re: [PATCH] Handle case of unmapped K when exiting termdebug

2020-12-08 Fir de Conversatie Rene Kita
On Mon, Dec 07, 2020 at 06:54:41PM +0100, Bram Moolenaar wrote: > > Rene Kita wrote; > > > If K is not mapped to anything the dictionary is empty and the if clause > > is false. K is then still mapped to :Evaluate. This will result in an > > error E492 when using K. > > Thanks for the idea. One

[PATCH] Handle case of unmapped K when exiting termdebug

2020-12-07 Fir de Conversatie vim
From: Rene Kita If K is not mapped to anything the dictionary is empty and the if clause is false. K is then still mapped to :Evaluate. This will result in an error E492 when using K. --- Steps to reproduce: - :unmap K - :packadd termdebug - :Termdebug - quit - :map K runtime/pack/dist/opt/ter

[PATCH] Handle case of unmapped K when exiting termdebug

2020-12-07 Fir de Conversatie vim
From: Rene Kita If K is not mapped to anything the dictionary is empty and the if clause is false. K is then still mapped to :Evaluate. This will result in an error E492 when using K. --- Steps to reproduce: - :unmap K - :packadd termdebug - :Termdebug - quit - :map K runtime/pack/dist/opt/te

[PATCH] Handle case of unmapped K when exiting termdebug

2020-12-07 Fir de Conversatie vim
-- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubs

Re: [PATCH] Handle case of unmapped K when exiting termdebug

2020-12-07 Fir de Conversatie Bram Moolenaar
Rene Kita wrote; > If K is not mapped to anything the dictionary is empty and the if clause > is false. K is then still mapped to :Evaluate. This will result in an > error E492 when using K. > --- > > Steps to reproduce: > - :unmap K > - :packadd termdebug > - :Termdebug > - quit > - :map K Th

[PATCH] Handle case of unmapped K when exiting termdebug

2020-12-07 Fir de Conversatie vim
From: Rene Kita If K is not mapped to anything the dictionary is empty and the if clause is false. K is then still mapped to :Evaluate. This will result in an error E492 when using K. --- Steps to reproduce: - :unmap K - :packadd termdebug - :Termdebug - quit - :map K runtime/pack/dist/opt/te