aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-03-03 17:31:30 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-03-03 17:31:30 -0500
commit495d9dc83ab0f74fe46b3b3da6a9bbf565d6cd81 (patch)
tree8a5d7453337d3dab1706836d78b5009173bd395e /core/.buffer.luadoc
parent68acc896df36d8f5032523c96d1071d50645e8fd (diff)
Fixed LuaDoc for `buffer:get_lexer()`; core/.buffer.luadoc
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.