@@ -23,33 +23,33 @@ opt.breakindent = true -- Visually indent wrapped lines
23
23
opt .conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions
24
24
opt .confirm = true -- Confirm to save changes before exiting modified buffer
25
25
opt .cursorline = true -- Show which line your cursor is on
26
- vim .opt .diffopt :append (" iwhite" ) -- Ignore whitespace in diff mode
27
26
opt .grepformat = " %f:%l:%c:%m" -- Set grep format
28
27
opt .grepprg = " rg --vimgrep" -- Use ripgrep as grepprg
29
28
opt .ignorecase = true -- Case-insensitive searching unless \C
30
29
opt .inccommand = " split" -- Preview substitutions live, as you type!
31
30
opt .laststatus = 3 -- Global statusline
32
31
opt .list = true -- Display whitespace characters
33
- vim .opt .listchars = { tab = " » " , trail = " ·" , nbsp = " ␣" } -- Strings to use in list mode
34
32
opt .mouse = " a" -- Enable mouse mode
35
33
opt .number = true -- Show line number
36
34
opt .relativenumber = true -- Relative line numbers
37
35
opt .scrolloff = 10 -- Lines of context
36
+ opt .sessionoptions = " buffers,curdir,folds,help,tabpages,winsize" -- Changes the effect of the `:mksession` command
38
37
opt .shiftwidth = 2 -- Size of an indent
39
38
opt .showmode = false -- Don't show the mode, since it's already in the status line
40
39
opt .sidescrolloff = 10 -- Columns of context
41
40
opt .signcolumn = " yes" -- Keep signcolumn on by default to prevent text shifting
42
41
opt .smartcase = true -- Case-insensitive unless one or more capital letters
43
- opt .splitright = true -- Put new windows right of current
44
42
opt .splitbelow = true -- Put new windows below current
43
+ opt .splitright = true -- Put new windows right of current
45
44
opt .tabstop = 2 -- Number of spaces tabs count for
46
45
opt .termguicolors = true -- True color support
47
46
opt .timeoutlen = 300 -- Decrease mapped sequence and which-key wait time
48
47
opt .title = true -- Set window title
49
48
opt .undofile = true -- Save undo history
50
49
opt .updatetime = 250 -- Swap file update time
51
50
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
53
53
54
54
-- Fold settings for ufo plugin.
55
55
-- They need to be defined here instead of inside the plugin config because it causes issues with neotree.
0 commit comments