mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor(lua): consistent use of local aliases
This commit is contained in:
committed by
Christian Clason
parent
a33284c2c0
commit
c10e36fc01
@@ -148,7 +148,7 @@ end
|
||||
---@return fun(line: string): string
|
||||
local function make_comment_function(parts, indent)
|
||||
local prefix, nonindent_start, suffix = indent .. parts.left, indent:len() + 1, parts.right
|
||||
local blank_comment = indent .. vim.trim(parts.left) .. vim.trim(parts.right)
|
||||
local blank_comment = indent .. vim.trim(parts.left) .. vim.trim(suffix)
|
||||
|
||||
return function(line)
|
||||
if is_blank(line) then
|
||||
|
||||
Reference in New Issue
Block a user