Skip to content

Commit 67f4447

Browse files
committed
Correct the luadoc for Headline:todo
1 parent 5fc272f commit 67f4447

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lua/orgmode/treesitter/headline.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ function Headline:item()
217217
return self.headline:field('item')[1]
218218
end
219219

220-
-- Returns the headlines todo node, it's keyword,
221-
-- and if it's in done state
222-
-- @return Node, string, boolean
220+
--- Returns the headlines todo node, it's keyword, and if it's in done state
221+
--- @return Node? node, string? word, boolean? isDone
223222
function Headline:todo()
224223
local todo_keywords = config:get_todo_keywords()
225224
local keywords = todo_keywords.ALL

0 commit comments

Comments
 (0)