Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 6350ad9

Browse files
committed
Add on cursor hover command
1 parent 8c9033f commit 6350ad9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ autocmd! * <buffer>
3434
autocmd BufEnter,BufWinEnter,TabEnter <buffer> :lua require'lsp_extensions'.inlay_hints{}
3535
```
3636

37+
On cursor hover, get hints for current line:
38+
39+
```vimscript
40+
autocmd CursorHold,CursorHoldI <buffer> :lua require'lsp_extensions'.inlay_hints{ only_current_line = true }
41+
```
42+
3743
Available Options (Showing defaults):
3844

3945
```lua

0 commit comments

Comments
 (0)