fix StyLua command (#190)

* style: fix StyLua glob pattern

* style: fix style with StyLua

run './utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua'
This commit is contained in:
hituzi no sippo
2021-09-11 20:18:44 +09:00
committed by GitHub
parent 8fb4ee1075
commit a58712bf16
19 changed files with 56 additions and 71 deletions

View File

@@ -1,7 +1,6 @@
local str = require "cmp.utils.str"
local str = require('cmp.utils.str')
describe('utils.str', function()
it('get_word', function()
assert.are.equal(str.get_word('print'), 'print')
assert.are.equal(str.get_word('$variable'), '$variable')
@@ -27,7 +26,4 @@ describe('utils.str', function()
assert.are.equal(str.escape('plain\\"', {}), 'plain\\\\"')
assert.are.equal(str.escape('pla"in', { '"' }), 'pla\\"in')
end)
end)