Skip to content

Commit

Permalink
Enable folding with treesitter
Browse files Browse the repository at this point in the history
  • Loading branch information
slarse committed Feb 28, 2024
1 parent 6e36579 commit a17eda4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/lua/slarse/set.lua
Expand Up @@ -12,3 +12,6 @@ vim.opt.ignorecase = true
vim.opt.smartcase = true

vim.opt.filetype = "on"

vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"

0 comments on commit a17eda4

Please sign in to comment.