Skip to content

Commit

Permalink
nvim: revert treesitter folding
Browse files Browse the repository at this point in the history
I don't like the auto folding, need to figure out how
to turn that off.
  • Loading branch information
jc00ke committed Dec 8, 2024
1 parent 3eeb52e commit 77ab986
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .config/nvim/after/plugin/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ vim.o.expandtab = true
vim.o.splitright = true
vim.o.splitbelow = true

vim.wo.foldmethod = "expr"
vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()"
vim.wo.foldcolumn = "1"
vim.wo.foldnestmax = 3
vim.wo.foldlevel = 99

vim.keymap.set("n", "<leader>sr", require("telescope.builtin").resume, { desc = "[S]earch [R]esume" })

local keymap = vim.keymap.set
Expand Down

0 comments on commit 77ab986

Please sign in to comment.