Skip to content

Commit

Permalink
Fix emmy-lua annotation of return type fo display_callback
Browse files Browse the repository at this point in the history
  • Loading branch information
theHamsta committed Dec 27, 2023
1 parent 99f0a58 commit d630b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-dap-virtual-text.lua
Expand Up @@ -80,7 +80,7 @@ local options = {
--- @param stackframe dap.StackFrame https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame
--- @param node userdata tree-sitter node identified as variable definition of reference (see `:h tsnode`)
--- @param options nvim_dap_virtual_text_options Current options for nvim-dap-virtual-text
--- @return string|nil A text how the virtual text should be displayed or nil, if this variable shouldn't be displayed
--- @return string|nil text how the virtual text should be displayed or nil, if this variable shouldn't be displayed
--- @diagnostic disable-next-line: unused-local
display_callback = function(variable, buf, stackframe, node, options)
if options.virt_text_pos == 'inline' then
Expand Down

0 comments on commit d630b9b

Please sign in to comment.