diff --git a/lua/outline/docs.lua b/lua/outline/docs.lua index a93d5d5..7a53100 100644 --- a/lua/outline/docs.lua +++ b/lua/outline/docs.lua @@ -26,6 +26,14 @@ function M.show_help() to = #keys + #indent, name = key_hl, }) + elseif next(keys) == nil then + table.insert(left, '(none)') + table.insert(hl, { + line = #left + 3, + from = #indent, + to = #indent + 6, + name = 'Comment', + }) else local i = #indent table.insert(left, table.concat(keys, ' / '))