aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-02-20 23:21:01 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-20 23:21:01 -0300
commite78a825350b9565549b112279f1d62ba100fb8e7 (patch)
tree0379b96c02b2503e47b1b916979cf97fa69133ee
parenta55e03d4fd8acde9ff8f0a35758ed9c41009c241 (diff)
downloadrneovim-e78a825350b9565549b112279f1d62ba100fb8e7.tar.gz
rneovim-e78a825350b9565549b112279f1d62ba100fb8e7.tar.bz2
rneovim-e78a825350b9565549b112279f1d62ba100fb8e7.zip
Set language of first json-rpc block
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e2efac083f..e2e5a15ef2 100644
--- a/README.md
+++ b/README.md
@@ -92,7 +92,7 @@ This is how the new plugin system will work:
Here's a sample plugin session using [json-rpc](http://www.jsonrpc.org/specification) (jsonrpc version omitted):
-```
+```js
plugin -> vim: {"id": 1, "method": "listenEvent", "params": {"eventName": "keyPressed"}}
vim -> plugin: {"id": 1, "result": true}
vim -> plugin: {"method": "event", "params": {"name": "keyPressed", "eventArgs": {"keys": ["C"]}}}
@@ -131,7 +131,7 @@ The difference between plugins and GUIs is that plugins will be started by
neovim, where GUIs will start neovim(or perhaps attach to a running session).
Here's a sample diagram of the process tree:
-```txt
+```
GUI program
|
---> Neovim