diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-08-04 18:45:42 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-08-04 18:45:42 -0400 |
commit | 589db5e69472a5fd731577ef426b26aa3a9f025b (patch) | |
tree | d12549d3fde89df845fa15345d8b30c44d317601 /core/.buffer.luadoc | |
parent | a09459af7789d3c8aa781586478917cbb3ef99ae (diff) |
Try to avoid using `lexer` as a string, as it overshadows the `lexer` module.
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r-- | core/.buffer.luadoc | 8 |
1 files changed, 4 insertions, 4 deletions
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 |