[change] lua/config/options.lua

pull/94/head
smith.hu 2023-11-30 11:46:05 +08:00
parent 2ee662eecf
commit c42b20750a
1 changed files with 12 additions and 12 deletions

View File

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