Skip to content

Commit 4af6592

Browse files
committed
Add a Lua type annotation for org_log_done
Updates the type annotation for the `DefaultConfig` type to specify the allowed values of org_log_done for the Lua LSP. The values that are specified are based on the currently documented values for `org_log_done`.
1 parent 0b0a383 commit 4af6592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/orgmode/config/defaults.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---@class DefaultConfig
2+
---@field org_log_done 'time' | 'note' | false
23
local DefaultConfig = {
34
org_agenda_files = '',
45
org_default_notes_file = '',

0 commit comments

Comments
 (0)