diff --git a/lua/settings.lua b/lua/settings.lua index 486b582..ad5b557 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -9,13 +9,19 @@ vim.opt.sidescrolloff = 5 -- Enable visually highlighting listchars vim.opt.list = true -- Customize the listchars display strings --- nbsp: Circled Reverse Solidus (U+29B8, utf-8: E2 A6 B8) --- trail: Middle Dot (U+00B7, utf-8: C2 B7) --- tab: White Right-Pointing Small Triangle (U+25B9, utf-8: E2 96 B9) --- Box Drawings Light Triple Dash Horizontal (U+2504, utf-8: E2 94 84) --- extends: Right-Pointing Double Angle Quotation Mark (U+00BB, utf-8: C2 BB) --- precedes: Left-Pointing Double Angle Quotation Mark (U+00AB, utf-8: C2 AB) -vim.opt.listchars = 'nbsp:⦸,trail:·,tab:▹┄,extends:»,precedes:«' +vim.opt.listchars = { + -- Circled Reverse Solidus (U+29B8, utf-8: E2 A6 B8) + nbsp = '⦸', + -- Middle Dot (U+00B7, utf-8: C2 B7) + trail = '·', + -- White Right-Pointing Small Triangle (U+25B9, utf-8: E2 96 B9) + -- Box Drawings Light Triple Dash Horizontal (U+2504, utf-8: E2 94 84) + tab = '▹┄', + -- Right-Pointing Double Angle Quotation Mark (U+00BB, utf-8: C2 BB) + extends = '»', + -- Left-Pointing Double Angle Quotation Mark (U+00AB, utf-8: C2 AB) + precedes = '«', +} -- Wrap lines which are longer than screen width vim.opt.wrap = true