File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 6
6
* ` CHG ` completion: improve field and table
7
7
* ` CHG ` improve infer cross ` ipairs `
8
8
* ` CHG ` cache globals when loading
9
+ * ` CHG ` completion: remove trigger character ` \n ` for now, see [ #401 ] ( https://github.com/sumneko/lua-language-server/issues/401 )
9
10
* ` FIX ` diagnositc: may open file with wrong uri case
10
11
* ` FIX ` [ #406 ] ( https://github.com/sumneko/lua-language-server/issues/406 )
11
12
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ local isEnable = false
4
4
5
5
local function allWords ()
6
6
local str = [[ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=-{ ]]
7
- local list = {' \n ' , ' \ t' }
7
+ local list = {' \t ' }
8
8
for c in str :gmatch ' .' do
9
9
list [# list + 1 ] = c
10
10
end
Original file line number Diff line number Diff line change @@ -390,3 +390,18 @@ TEST 'integer' [[
390
390
for <?i?> in ipairs() do
391
391
end
392
392
]]
393
+
394
+ -- TODO
395
+ -- TEST 'string' [[
396
+ ---- -@type table<string, boolean>
397
+ -- local t
398
+ -- for <?k?>, v in ipairs(t) do
399
+ -- end
400
+ -- ]]
401
+ --
402
+ -- TEST 'boolean' [[
403
+ ---- -@type table<string, boolean>
404
+ -- local t
405
+ -- for k, <?v?> in ipairs(t) do
406
+ -- end
407
+ -- ]]
You can’t perform that action at this time.
0 commit comments