Skip to content

Commit 843b9a6

Browse files
committed
fix(keymap): update tiny-inline-diagnostic api
Signed-off-by: charliie-dev <mail@charliie.dev>
1 parent 963d94f commit 843b9a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/keymap/helpers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ M.toggle_virtuallines = function()
3030
require("tiny-inline-diagnostic").toggle()
3131
vim.notify(
3232
"Virtual lines are now "
33-
.. (require("tiny-inline-diagnostic.diagnostic").user_toggle_state and "displayed" or "hidden"),
33+
.. (require("tiny-inline-diagnostic.state").user_toggle_state and "displayed" or "hidden"),
3434
vim.log.levels.INFO,
3535
{ title = "LSP Diagnostic" }
3636
)

0 commit comments

Comments
 (0)