[change] lua/config/options.lua

This commit is contained in:
smith.hu 2023-11-30 11:46:05 +08:00
parent 2ee662eecf
commit c42b20750a

View file

@ -24,17 +24,17 @@ opt.completeopt = 'menuone,noinsert,noselect' -- Autocomplete options
----------------------------------------------------------- -----------------------------------------------------------
-- Neovim UI -- Neovim UI
----------------------------------------------------------- -----------------------------------------------------------
--opt.number = true -- Show line number opt.number = true -- Show line number
--opt.showmatch = true -- Highlight matching parenthesis opt.showmatch = true -- Highlight matching parenthesis
--opt.foldmethod = 'marker' -- Enable folding (default 'foldmarker') opt.foldmethod = 'marker' -- Enable folding (default 'foldmarker')
--opt.colorcolumn = '80' -- Line lenght marker at 80 columns opt.colorcolumn = '0' -- Line lenght marker at 80 columns
--opt.splitright = true -- Vertical split to the right opt.splitright = true -- Vertical split to the right
--opt.splitbelow = true -- Horizontal split to the bottom opt.splitbelow = true -- Horizontal split to the bottom
--opt.ignorecase = true -- Ignore case letters when search opt.ignorecase = true -- Ignore case letters when search
--opt.smartcase = true -- Ignore lowercase for the whole pattern opt.smartcase = true -- Ignore lowercase for the whole pattern
--opt.linebreak = true -- Wrap on word boundary opt.linebreak = true -- Wrap on word boundary
--opt.termguicolors = true -- Enable 24-bit RGB colors opt.termguicolors = true -- Enable 24-bit RGB colors
--opt.laststatus=3 -- Set global statusline opt.laststatus=3 -- Set global statusline
----------------------------------------------------------- -----------------------------------------------------------
-- Tabs, indent -- Tabs, indent
@ -49,7 +49,7 @@ opt.smartindent = true -- Autoindent new lines
----------------------------------------------------------- -----------------------------------------------------------
opt.hidden = true -- Enable background buffers opt.hidden = true -- Enable background buffers
opt.history = 100 -- Remember N lines in history opt.history = 100 -- Remember N lines in history
opt.lazyredraw = true -- Faster scrolling opt.lazyredraw = false -- Faster scrolling
opt.synmaxcol = 240 -- Max column for syntax highlight opt.synmaxcol = 240 -- Max column for syntax highlight
opt.updatetime = 250 -- ms to wait for trigger an event opt.updatetime = 250 -- ms to wait for trigger an event