explain vim stack trace usage

This commit is contained in:
Florian Klein 2013-10-09 17:34:17 +02:00
parent 20ea5255bc
commit 903295ed5f

6
README
View File

@ -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