Skip to content

Commit d8ea8f7

Browse files
chore(build): auto-generate vimdoc
1 parent 62bc941 commit d8ea8f7

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

doc/quarto.txt

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,17 @@ or access the function from lua, e.g. to create a keybinding:
125125

126126
>lua
127127
local quarto = require'quarto'
128+
quarto.setup()
128129
vim.keymap.set('n', '<leader>qp', quarto.quartoPreview, {silent = true, noremap = true})
129130
<
130131

131132
Then use the keyboard shortcut to open `quarto preview` for the current file or
132133
project in the active working directory in the neovim integrated terminal in a
133134
new tab.
134135

136+
Note: While you can use `QuartoPreview` without configuring the plugin via
137+
`quarto.setup`, other features strictly require it.
138+
135139

136140
LANGUAGE SUPPORT *quarto-quarto-nvim-language-support*
137141

@@ -144,18 +148,9 @@ https://user-images.githubusercontent.com/17450586/209436101-4dd560f4-c876-4dbc-
144148

145149
USAGE ~
146150

147-
Enable quarto-nvim’s lsp features by configuring it with
148-
149-
>lua
150-
require'quarto'.setup{
151-
lspFeatures = {
152-
enabled = true,
153-
}
154-
}
155-
<
156-
157-
After enabling the language features, you can open the hover documentation for
158-
R, python and julia code chunks with `K` (or configure a different shortcut).
151+
With the language features enabled, you can open the hover documentation for R,
152+
python and julia code chunks with `K` (or configure a different shortcut). You
153+
can got-to-definition with `gd`.
159154

160155

161156
AUTOCOMPLETION ~
@@ -211,6 +206,8 @@ AVAILABLE COMMNDS *quarto-quarto-nvim-available-commnds*
211206
QuartoActivate
212207
QuartoDiagnostics
213208
QuartoHover
209+
QuartoSendAbove
210+
QuartoSendAll
214211
<
215212

216213

0 commit comments

Comments
 (0)