Skip to content

Commit

Permalink
v2.6.0
Browse files Browse the repository at this point in the history
-  refactor(highlights): use fields from nvim_set_hl
- fix(tabpages): allow and indicated tabs with the same buffers
  • Loading branch information
akinsho authored Aug 13, 2022
2 parents 2e5d92e + 8fa9921 commit 4490948
Show file tree
Hide file tree
Showing 23 changed files with 929 additions and 712 deletions.
3 changes: 2 additions & 1 deletion .luarc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"Lua.diagnostics.disable": [
"assign-type-mismatch",
"cast-local-type"
"cast-local-type",
"missing-parameter"
]
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,19 +738,19 @@ custom_areas = {
local hint = #vim.diagnostic.get(0, {severity = seve.HINT})

if error ~= 0 then
table.insert(result, {text = "" .. error, guifg = "#EC5241"})
table.insert(result, {text = "" .. error, fg = "#EC5241"})
end

if warning ~= 0 then
table.insert(result, {text = "" .. warning, guifg = "#EFB839"})
table.insert(result, {text = "" .. warning, fg = "#EFB839"})
end

if hint ~= 0 then
table.insert(result, {text = "" .. hint, guifg = "#A3BA5E"})
table.insert(result, {text = "" .. hint, fg = "#A3BA5E"})
end

if info ~= 0 then
table.insert(result, {text = "" .. info, guifg = "#7EA9A7"})
table.insert(result, {text = "" .. info, fg = "#7EA9A7"})
end
return result
end,
Expand Down
Loading

0 comments on commit 4490948

Please sign in to comment.