explain vim stack trace usage
This commit is contained in:
parent
20ea5255bc
commit
903295ed5f
6
README
6
README
@ -48,6 +48,7 @@ Then you'll have to register the exception listener, for example (in your config
|
|||||||
services:
|
services:
|
||||||
vim.stack_trace:
|
vim.stack_trace:
|
||||||
class: VimExceptionHandler
|
class: VimExceptionHandler
|
||||||
|
arguments: [ 'dev-vim-server' ] # optional vim server name, defaults to 'dev'
|
||||||
tags:
|
tags:
|
||||||
- { name: 'kernel.event_listener', event: 'kernel.exception', method: 'onKernelException' }
|
- { name: 'kernel.event_listener', event: 'kernel.exception', method: 'onKernelException' }
|
||||||
|
|
||||||
@ -57,3 +58,8 @@ To use it in another system, just use the same class by typing:
|
|||||||
VimExceptionHandler::register();
|
VimExceptionHandler::register();
|
||||||
|
|
||||||
|
|
||||||
|
Then launch vim using:
|
||||||
|
|
||||||
|
vim --servername dev-vim-server
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user