Compare commits

...

3 Commits

Author SHA1 Message Date
Andrzej Stepien 405d1fe61a point init to default options 2024-03-14 14:12:31 +01:00
Andrzej Stepien 8c91b0bb43 undo 2024-03-14 14:12:14 +01:00
Andrzej Stepien 7d9d12510b setup treesitter folding 2024-03-14 14:12:10 +01:00
9 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
require("options")
require("options.default")
require("keymaps")
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
@ -9,7 +9,8 @@ if not vim.loop.fs_stat(lazypath) then
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath, })
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)

View File

@ -9,3 +9,7 @@ vim.opt.undofile = true
vim.opt.undolevels = 1000
vim.opt.updatetime = 500
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldenable = true