From 589db5e69472a5fd731577ef426b26aa3a9f025b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 4 Aug 2020 18:45:42 -0400 Subject: Try to avoid using `lexer` as a string, as it overshadows the `lexer` module. --- core/.buffer.luadoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/.buffer.luadoc') diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc index 93ed88d0..8176e140 100644 --- a/core/.buffer.luadoc +++ b/core/.buffer.luadoc @@ -1830,13 +1830,13 @@ function set_encoding(buffer, encoding) end function get_lexer(buffer, current) end --- --- Associates lexer name *lexer* or the auto-detected lexer name with the buffer --- and then loads the appropriate language module if that module exists. +-- Associates string lexer name *name* or the auto-detected lexer name with the +-- buffer and then loads the appropriate language module if that module exists. -- @param buffer A buffer. --- @param lexer Optional string lexer name to set. If `nil`, attempts to +-- @param name Optional string lexer name to set. If `nil`, attempts to -- auto-detect the buffer's lexer. -- @usage buffer:set_lexer('lexer_name') -function set_lexer(buffer, lexer) end +function set_lexer(buffer, name) end -- Unused Fields. -- * accessibility -- cgit v1.2.3