summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim/config/lua/options.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/options.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/options.lua b/pkgs/custom-neovim/config/lua/options.lua
index 6840085..67c4469 100644
--- a/pkgs/custom-neovim/config/lua/options.lua
+++ b/pkgs/custom-neovim/config/lua/options.lua
@@ -12,6 +12,9 @@ vim.o.number = true -- set absolute numbered lines
vim.o.scrolloff = 4 -- minimal number of screen lines to keep above and below the cursor
vim.o.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time
+-- Finding
+vim.o.gdefault = true -- Replace globally by default
+
-- Folding
vim.o.foldmethod = "expr"
vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()" -- Set folder to treesitter.