mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2026-02-04 14:12:02 +00:00
Add docs for run function
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user