diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-12-04 13:31:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 13:31:57 -0800 |
commit | 45fe4d11add933df76a2ea4bf52ce8904f4a778b (patch) | |
tree | aa1066146b29f95f43153fe3948b6c165a156a15 /src/nvim/generators/dump_bin_array.lua | |
parent | 517f0cc634b985057da5b95cf4ad659ee456a77e (diff) | |
download | rneovim-45fe4d11add933df76a2ea4bf52ce8904f4a778b.tar.gz rneovim-45fe4d11add933df76a2ea4bf52ce8904f4a778b.tar.bz2 rneovim-45fe4d11add933df76a2ea4bf52ce8904f4a778b.zip |
build: enable lintlua for src/ dir #26395
Problem:
Not all Lua code is checked by stylua. Automating code-style is an
important mechanism for reducing time spent on accidental
(non-essential) complexity.
Solution:
- Enable lintlua for `src/` directory.
followup to 517f0cc634b985057da5b95cf4ad659ee456a77e
Diffstat (limited to 'src/nvim/generators/dump_bin_array.lua')
-rw-r--r-- | src/nvim/generators/dump_bin_array.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/generators/dump_bin_array.lua b/src/nvim/generators/dump_bin_array.lua index bee5aba73f..c6cda25e73 100644 --- a/src/nvim/generators/dump_bin_array.lua +++ b/src/nvim/generators/dump_bin_array.lua @@ -1,10 +1,10 @@ local function dump_bin_array(output, name, data) output:write([[ - static const uint8_t ]]..name..[[[] = { + static const uint8_t ]] .. name .. [[[] = { ]]) for i = 1, #data do - output:write(string.byte(data, i)..', ') + output:write(string.byte(data, i) .. ', ') if i % 10 == 0 then output:write('\n ') end |