1
0

fix unicode chars

This commit is contained in:
2025-03-26 13:05:49 +00:00
parent cc3a2ea13f
commit 08cd09ac8e

View File

@@ -8,10 +8,10 @@ vim.opt.rnu = true
-- length of an actual \t character: -- length of an actual \t character:
vim.opt.tabstop=2 vim.opt.tabstop=2
-- length to use when editing text (eg. TAB and BS keys) -- length to use when editing text (eg. TAB and BS keys)
-- (0 for tabstop, -1 for shiftwidth): -- (0 for 'tabstop', -1 for 'shiftwidth'):
vim.opt.softtabstop=-1 vim.opt.softtabstop=-1
-- length to use when shifting text (eg. <<, >> and == commands) -- length to use when shifting text (eg. <<, >> and == commands)
-- (0 for tabstop): -- (0 for 'tabstop'):
vim.opt.shiftwidth=0 vim.opt.shiftwidth=0
-- round indentation to multiples of 'shiftwidth' when shifting text -- round indentation to multiples of 'shiftwidth' when shifting text
-- (so that it behaves like Ctrl-D / Ctrl-T): -- (so that it behaves like Ctrl-D / Ctrl-T):
@@ -24,8 +24,8 @@ vim.opt.expandtab = true
vim.opt.autoindent = true vim.opt.autoindent = true
-- keep indentation produced by 'autoindent' if leaving the line blank: -- keep indentation produced by 'autoindent' if leaving the line blank:
-- vim.opt.cpoptions+=I -- vim.opt.cpoptions+=I
-- try to be smart (increase the indenting level after {, -- try to be smart (increase the indenting level after '{',
-- decrease it after }, and so on): -- decrease it after '}', and so on):
vim.opt.smartindent = true vim.opt.smartindent = true
-- a stricter alternative which works better for the C language: -- a stricter alternative which works better for the C language:
vim.opt.cindent = true vim.opt.cindent = true
@@ -36,7 +36,7 @@ vim.opt.scrolloff = 6
-- marker at line 80 -- marker at line 80
vim.opt.colorcolumn = "80" vim.opt.colorcolumn = "80"
-- use languagespecific plugins for indenting (better): -- use language-specific plugins for indenting (better):
vim.cmd("filetype plugin indent on") vim.cmd("filetype plugin indent on")
vim.cmd("syntax on") vim.cmd("syntax on")