Skip to content

Commit f20ad5e

Browse files
committed
sort options
1 parent 25c6c88 commit f20ad5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/config/options.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,33 @@ opt.breakindent = true -- Visually indent wrapped lines
2323
opt.conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions
2424
opt.confirm = true -- Confirm to save changes before exiting modified buffer
2525
opt.cursorline = true -- Show which line your cursor is on
26-
vim.opt.diffopt:append("iwhite") -- Ignore whitespace in diff mode
2726
opt.grepformat = "%f:%l:%c:%m" -- Set grep format
2827
opt.grepprg = "rg --vimgrep" -- Use ripgrep as grepprg
2928
opt.ignorecase = true -- Case-insensitive searching unless \C
3029
opt.inccommand = "split" -- Preview substitutions live, as you type!
3130
opt.laststatus = 3 -- Global statusline
3231
opt.list = true -- Display whitespace characters
33-
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "" } -- Strings to use in list mode
3432
opt.mouse = "a" -- Enable mouse mode
3533
opt.number = true -- Show line number
3634
opt.relativenumber = true -- Relative line numbers
3735
opt.scrolloff = 10 -- Lines of context
36+
opt.sessionoptions = "buffers,curdir,folds,help,tabpages,winsize" -- Changes the effect of the `:mksession` command
3837
opt.shiftwidth = 2 -- Size of an indent
3938
opt.showmode = false -- Don't show the mode, since it's already in the status line
4039
opt.sidescrolloff = 10 -- Columns of context
4140
opt.signcolumn = "yes" -- Keep signcolumn on by default to prevent text shifting
4241
opt.smartcase = true -- Case-insensitive unless one or more capital letters
43-
opt.splitright = true -- Put new windows right of current
4442
opt.splitbelow = true -- Put new windows below current
43+
opt.splitright = true -- Put new windows right of current
4544
opt.tabstop = 2 -- Number of spaces tabs count for
4645
opt.termguicolors = true -- True color support
4746
opt.timeoutlen = 300 -- Decrease mapped sequence and which-key wait time
4847
opt.title = true -- Set window title
4948
opt.undofile = true -- Save undo history
5049
opt.updatetime = 250 -- Swap file update time
5150
opt.wrap = false -- Disable line wrap
52-
opt.sessionoptions = "buffers,curdir,folds,help,tabpages,winsize" -- Changes the effect of the `:mksession` command
51+
vim.opt.diffopt:append("iwhite") -- Ignore whitespace in diff mode
52+
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "" } -- Strings to use in list mode
5353

5454
-- Fold settings for ufo plugin.
5555
-- They need to be defined here instead of inside the plugin config because it causes issues with neotree.

0 commit comments

Comments
 (0)