We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b7be8 commit 0373680Copy full SHA for 0373680
.luarc.json
@@ -1,12 +1,14 @@
1
{
2
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
3
+ "runtime.version" : "Lua 5.1",
4
"diagnostics": {
5
"globals": {
6
"vim": true
7
},
8
"disable": {
9
"lowercase-global": true,
- "missing-parameter": true
10
+ "missing-parameter": true,
11
+ "trailing-space": true
12
}
13
14
lua/nvim-tree/diagnostics.lua
@@ -92,7 +92,7 @@ local function from_coc()
92
93
for bufname, severity_list in pairs(diagnostics) do
94
if not buffer_severity[bufname] then
95
- local severity = math.min(table.unpack(severity_list))
+ local severity = math.min(unpack(severity_list))
96
buffer_severity[bufname] = severity
97
end
98
0 commit comments