Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0373680

Browse files
committed
nvim-tree#1301 nvim uses LuaJIT 2.1 -> lua 5.1
1 parentc3b7be8 commit0373680

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.luarc.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"$schema":"https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
3+
"runtime.version" :"Lua 5.1",
34
"diagnostics": {
45
"globals": {
56
"vim":true
67
},
78
"disable": {
89
"lowercase-global":true,
9-
"missing-parameter":true
10+
"missing-parameter":true,
11+
"trailing-space":true
1012
}
1113
}
1214
}

‎lua/nvim-tree/diagnostics.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ local function from_coc()
9292

9393
forbufname,severity_listinpairs(diagnostics)do
9494
ifnotbuffer_severity[bufname]then
95-
localseverity=math.min(table.unpack(severity_list))
95+
localseverity=math.min(unpack(severity_list))
9696
buffer_severity[bufname]=severity
9797
end
9898
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp