fix unicode chars
This commit is contained in:
10
init.lua
10
init.lua
@@ -8,10 +8,10 @@ vim.opt.rnu = true
|
||||
-- length of an actual \t character:
|
||||
vim.opt.tabstop=2
|
||||
-- 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
|
||||
-- length to use when shifting text (eg. <<, >> and == commands)
|
||||
-- (0 for ‘tabstop’):
|
||||
-- (0 for 'tabstop'):
|
||||
vim.opt.shiftwidth=0
|
||||
-- round indentation to multiples of 'shiftwidth' when shifting text
|
||||
-- (so that it behaves like Ctrl-D / Ctrl-T):
|
||||
@@ -24,8 +24,8 @@ vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
-- keep indentation produced by 'autoindent' if leaving the line blank:
|
||||
-- vim.opt.cpoptions+=I
|
||||
-- try to be smart (increase the indenting level after ‘{’,
|
||||
-- decrease it after ‘}’, and so on):
|
||||
-- try to be smart (increase the indenting level after '{',
|
||||
-- decrease it after '}', and so on):
|
||||
vim.opt.smartindent = true
|
||||
-- a stricter alternative which works better for the C language:
|
||||
vim.opt.cindent = true
|
||||
@@ -36,7 +36,7 @@ vim.opt.scrolloff = 6
|
||||
-- marker at line 80
|
||||
vim.opt.colorcolumn = "80"
|
||||
|
||||
-- use language‐specific plugins for indenting (better):
|
||||
-- use language-specific plugins for indenting (better):
|
||||
vim.cmd("filetype plugin indent on")
|
||||
|
||||
vim.cmd("syntax on")
|
||||
|
||||
Reference in New Issue
Block a user