@@ -78,11 +78,11 @@ require('quarto').setup{
7878 },
7979 },
8080 codeRunner = {
81- enabled = false ,
82- default_method = nil , -- ' molten' or 'slime'
81+ enabled = true ,
82+ default_method = " slime " , -- " molten", "slime", "iron" or <function>
8383 ft_runners = {}, -- filetype to runner, ie. `{ python = "molten" }`.
84- -- Takes precedence over `default_method`
85- never_run = { " yaml" }, -- filetypes which are never sent to a code runner
84+ -- Takes precedence over `default_method`
85+ never_run = { ' yaml' }, -- filetypes which are never sent to a code runner
8686 },
8787}
8888```
@@ -150,22 +150,28 @@ Or, what might ultimately be the cleaner way of documenting language specific is
150150## Running Code
151151
152152Quarto-nvim doesn't run code for you, instead, it will interface with existing code running
153- plugins and tell them what to run. There are currently two such code running plugins that quarto
153+ plugins and tell them what to run. There are currently three such code running plugins that quarto
154154will work with:
155+
1551561 . [ molten-nvim] ( https://github.com/benlubas/molten-nvim ) - a code runner that supports the jupyter
156157 kernel, renders output below each code cell, and optionally renders images in the terminal.
1571582 . [ vim-slime] ( https://github.com/jpalardy/vim-slime ) - a general purpose code runner with support
158159 for sending code to integrated nvim terminals, tmux panes, and many others.
160+ 3 . [ iron.nvim] ( https://github.com/Vigemus/iron.nvim ) - general purpose code runner and library for
161+ within-neovim REPL interaction in splits or floating windows.
159162
160- I recommend picking a code runner, setting it up based on its README, and then coming back
163+ We recommend picking a code runner, setting it up based on its respective README and then coming back
161164to this point to learn how Quarto will augment that code runner.
162165
163- This plugin enables easily sending code cells to your code runner. There are two different ways to
164- do this: commands, covered below; and lua functions, covered right here. * By default these functions
165- will only run cells that are the same language as the current cell.*
166+ This plugin enables easily sending code cells to your code runner.
167+ There are two different ways to do this:
168+ commands, covered below; and lua functions, covered right here.
169+ _ By default these functions will only run cells that are the same language as the current cell._
166170
167- Quarto exposes code running functions through to runner module: ` require('quarto.runner') ` . Those
171+ Quarto exposes code running functions through to runner module: ` require('quarto.runner') ` .
172+ Those
168173functions are:
174+
169175- ` run_cell() ` - runs the current cell
170176- ` run_above(multi_lang) ` - runs all the cells above the current one, ** and** the current one, in order
171177- ` run_below(multi_lang) ` - runs all the cells below the current one, ** and** the current one, in order
@@ -178,7 +184,6 @@ called with the value `true`, and will only run cells that match the language of
178184otherwise. As a result, just calling ` run_all() ` will run all cells that match the language of the
179185current cell.
180186
181-
182187Here are some example run mappings:
183188
184189``` lua
@@ -212,6 +217,8 @@ QuartoSendLine
212217## Recommended Plugins
213218
214219Quarto works great with a number of plugins in the neovim ecosystem.
215- You can find my personal (and thus up-to-date) configuration for use with Quarto, R and python here:
220+ You can find my ( @ jmbuhr ) personal (and thus up-to-date) configuration for use with Quarto, R and python here:
216221
217222< https://github.com/jmbuhr/quarto-nvim-kickstarter >
223+
224+ But remember, the best config is always your own.
0 commit comments