Skip to content

Commit e59af8b

Browse files
bkp5190bpatel347
andauthored
docs: fix typos and remove deprecated user command (#151)
* Resolve otter deprecation of .ask_hover() -> vim.lsp.buf.hover() * Fix spelling, remove QuartoHover --------- Co-authored-by: bpatel347 <[email protected]>
1 parent 23083a0 commit e59af8b

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ https://user-images.githubusercontent.com/17450586/209436101-4dd560f4-c876-4dbc-
118118

119119
### Usage
120120

121-
Uou can open the hover documentation for R, python and julia code chunks with `K`, got-to-definition with `gd` etc.
121+
You can open the hover documentation for R, python and julia code chunks with `K`, got-to-definition with `gd` etc.
122122
and get autocompletion via the lsp source for your completion plugin.
123123

124124
A list of currently available language server requests can be found in the [otter.nvim documentation](https://github.com/jmbuhr/otter.nvim?tab=readme-ov-file#lsp-methods-currently-implemented).
@@ -202,7 +202,6 @@ QuartoClosePreview
202202
QuartoHelp <..>
203203
QuartoActivate
204204
QuartoDiagnostics
205-
QuartoHover
206205
QuartoSend
207206
QuartoSendAbove
208207
QuartoSendBelow
@@ -216,4 +215,3 @@ Quarto works great with a number of plugins in the neovim ecosystem.
216215
You can find my personal (and thus up-to-date) configuration for use with Quarto, R and python here:
217216

218217
<https://github.com/jmbuhr/quarto-nvim-kickstarter>
219-

doc/quarto.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ https://user-images.githubusercontent.com/17450586/209436101-4dd560f4-c876-4dbc-
152152

153153
USAGE ~
154154

155-
Uou can open the hover documentation for R, python and julia code chunks with
155+
You can open the hover documentation for R, python and julia code chunks with
156156
`K`, got-to-definition with `gd` etc. and get autocompletion via the lsp source
157157
for your completion plugin.
158158

@@ -245,7 +245,6 @@ AVAILABLE COMMANDS *quarto-quarto-nvim-available-commands*
245245
QuartoHelp <..>
246246
QuartoActivate
247247
QuartoDiagnostics
248-
QuartoHover
249248
QuartoSend
250249
QuartoSendAbove
251250
QuartoSendBelow

plugin/quarto.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ api.nvim_create_user_command('QuartoPreview', quarto.quartoPreview, { nargs = '*
1919
api.nvim_create_user_command('QuartoClosePreview', quarto.quartoClosePreview, {})
2020
api.nvim_create_user_command('QuartoActivate', quarto.activate, {})
2121
api.nvim_create_user_command('QuartoHelp', quarto.searchHelp, { nargs = 1 })
22-
api.nvim_create_user_command('QuartoHover', ':lua require"otter".ask_hover()<cr>', {})

0 commit comments

Comments
 (0)