aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/.buffer.luadoc8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index ff5427e3..f1b42a11 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -3122,15 +3122,13 @@ function set_lexer(buffer, lexer) end
-- User themes override Textadept's default themes when they have the same name.
-- If *name* contains slashes, it is assumed to be an absolute path to a theme
-- instead of a theme name.
--- Note: this function must be called on startup in order to be effective. Once
--- set, it applies to all subsequent buffers, so additional calls are
--- unnecessary.
+-- @param buffer A buffer.
-- @param name The name or absolute path of a theme to set.
-- @param props Optional table of theme property assignments that override the
-- theme's defaults.
--- @usage buffer.set_theme('light', {font = 'Monospace', fontsize = 12})
+-- @usage buffer:set_theme('light', {font = 'Monospace', fontsize = 12})
-- @name set_theme
-function set_theme(name, props) end
+function set_theme(buffer, name, props) end
-- Unused Fields.
-- * annotation_style_offset