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