Skip to content

Commit

Permalink
Tweak symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
creasty committed Dec 12, 2023
1 parent 6bbd168 commit bfe33c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions nvim/coc-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

"diagnostic.errorSign": "✗",
"diagnostic.warningSign": "∆",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "▪︎",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "",
"diagnostic.virtualText": false,
"diagnostic.floatConfig": {
"winblend": 10
Expand Down
7 changes: 3 additions & 4 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,11 @@ set display+=uhex
" show hidden characters
"
" [tab]
" U+2192 (Rightwards Arrow)
" @see https://github.com/microsoft/vscode/blob/6ef862703e3a2a477e0bde0e715a1cb0ef3959cc/src/vs/editor/common/viewLayout/viewLineRenderer.ts#L995-L999
" U+2500 (Box Drawings Light Horizontal)
" U+23F5 (Black Medium Right-Pointing Triangle)
"
" [lead,trail]
" U+00B7 (Middle Dot)
" @see https://github.com/microsoft/vscode/blob/6ef862703e3a2a477e0bde0e715a1cb0ef3959cc/src/vs/editor/common/viewLayout/viewLineRenderer.ts#L122-L128
"
" [nbsp]
" U+2219 (Bullet Operator)
Expand All @@ -126,7 +125,7 @@ set display+=uhex
" U+276F (Heavy Right-Pointing Angle Quotation Mark Ornament)
" U+276E (Heavy Left-Pointing Angle Quotation Mark Ornament)
set list
set listchars=tab:\ \ ,lead:·,trail:·,nbsp:∙,extends:❯,precedes:
set listchars=tab:──⏵,lead:·,trail:·,nbsp:∙,extends:❯,precedes:

" indent wrapped lines
" U+203A (Single Right-Pointing Angle Quotation Mark)
Expand Down
4 changes: 2 additions & 2 deletions nvim/lua/user/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ local statusline = retry_call_wrap(function ()
table.insert(l1, text)
end
if diagnostics.I > 0 then
local text = string.format('%%#StatusLineDiagnosticsInfo#%s %d%%*', '', diagnostics.I)
local text = string.format('%%#StatusLineDiagnosticsInfo#%s %d%%*', '', diagnostics.I)
table.insert(l1, text)
end
if diagnostics.H > 0 then
local text = string.format('%%#StatusLineDiagnosticsHint#%s %d%%*', '▪︎', diagnostics.H)
local text = string.format('%%#StatusLineDiagnosticsHint#%s %d%%*', '', diagnostics.H)
table.insert(l1, text)
end
end
Expand Down

0 comments on commit bfe33c1

Please sign in to comment.