Re: How to debug a vim plugin?

2019-01-29 Thread Charles E Campbell
Tony Mechelynck wrote: On Mon, Dec 10, 2018 at 3:55 PM Peng Yu wrote: Hi, I am wondering how to debug a vim plugin (for example, the following one) in an efficient way. https://github.com/Clavelito/indent-sh.vim/blob/master/indent/sh.vim The main difficulty that I see is that a vim plugin

Re: How to debug a vim plugin?

2018-12-10 Thread Bram Moolenaar
Peng Yu wrote: > I am wondering how to debug a vim plugin (for example, the following > one) in an efficient way. > > https://github.com/Clavelito/indent-sh.vim/blob/master/indent/sh.vim > > The main difficulty that I see is that a vim plugin is different from &

Re: How to debug a vim plugin?

2018-12-10 Thread Marc Weber
https://github.com/MarcWeber/vim-git-wiki/blob/master/vim-online-wiki-source/topic/debugging-viml -- -- You received this message from the "vim_use" 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 ---

Re: How to debug a vim plugin?

2018-12-10 Thread Luc Hermitte
Hi, > I am wondering how to debug a vim plugin (for example, the following > one) in an efficient way. > > [...] > > Does anybody have any tips on how to debugging vim plugins? Thanks. In my lh-vim-lib [1] library plugin I provide two sets of tools - log functions [2] th

Re: How to debug a vim plugin?

2018-12-10 Thread Tony Mechelynck
On Mon, Dec 10, 2018 at 3:55 PM Peng Yu wrote: > > Hi, > > I am wondering how to debug a vim plugin (for example, the following > one) in an efficient way. > > https://github.com/Clavelito/indent-sh.vim/blob/master/indent/sh.vim > > The main difficulty that I see is tha

How to debug a vim plugin?

2018-12-10 Thread Peng Yu
Hi, I am wondering how to debug a vim plugin (for example, the following one) in an efficient way. https://github.com/Clavelito/indent-sh.vim/blob/master/indent/sh.vim The main difficulty that I see is that a vim plugin is different from a typical program is that in a typical programming