aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index 720feeda..e2acea09 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -2621,7 +2621,9 @@ function buffer.set_lexer(buffer, lang) end
---
-- Replacement for `buffer.get_lexer_language(buffer)`.
-- @param buffer The global buffer.
-function buffer.get_lexer(buffer) end
+-- @param current Whether to get the lexer at the current caret position in
+-- multi-language lexers. The default is `false` and returns the parent lexer.
+function buffer.get_lexer(buffer, current) end
---
-- Returns the name of the style associated with a style number.