mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Add docs for run function (#10)
This commit is contained in:
parent
4b96ddcfbe
commit
ceb4573f69
@ -53,7 +53,7 @@ A customizable Neovim plugin to run code inside the editor
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
require('runner').run()
|
require('runner').run() -- Can also be called with the buffer number where the code is
|
||||||
|
|
||||||
-- To set a mapping
|
-- To set a mapping
|
||||||
vim.keymap.set('n', '<leader><space>', require('runner').run)
|
vim.keymap.set('n', '<leader><space>', require('runner').run)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user