Skip to content

Commit

Permalink
docs: fix typos and remove deprecated user command (#151)
Browse files Browse the repository at this point in the history
* Resolve otter deprecation of .ask_hover() -> vim.lsp.buf.hover()

* Fix spelling, remove QuartoHover

---------

Co-authored-by: bpatel347 <[email protected]>
  • Loading branch information
bkp5190 and bpatel347 authored Nov 8, 2024
1 parent 23083a0 commit e59af8b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ https://user-images.githubusercontent.com/17450586/209436101-4dd560f4-c876-4dbc-

### Usage

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

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).
Expand Down Expand Up @@ -202,7 +202,6 @@ QuartoClosePreview
QuartoHelp <..>
QuartoActivate
QuartoDiagnostics
QuartoHover
QuartoSend
QuartoSendAbove
QuartoSendBelow
Expand All @@ -216,4 +215,3 @@ Quarto works great with a number of plugins in the neovim ecosystem.
You can find my personal (and thus up-to-date) configuration for use with Quarto, R and python here:

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

3 changes: 1 addition & 2 deletions doc/quarto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ https://user-images.githubusercontent.com/17450586/209436101-4dd560f4-c876-4dbc-

USAGE ~

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

Expand Down Expand Up @@ -245,7 +245,6 @@ AVAILABLE COMMANDS *quarto-quarto-nvim-available-commands*
QuartoHelp <..>
QuartoActivate
QuartoDiagnostics
QuartoHover
QuartoSend
QuartoSendAbove
QuartoSendBelow
Expand Down
1 change: 0 additions & 1 deletion plugin/quarto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ api.nvim_create_user_command('QuartoPreview', quarto.quartoPreview, { nargs = '*
api.nvim_create_user_command('QuartoClosePreview', quarto.quartoClosePreview, {})
api.nvim_create_user_command('QuartoActivate', quarto.activate, {})
api.nvim_create_user_command('QuartoHelp', quarto.searchHelp, { nargs = 1 })
api.nvim_create_user_command('QuartoHover', ':lua require"otter".ask_hover()<cr>', {})

0 comments on commit e59af8b

Please sign in to comment.