parent
3db7cfa22d
commit
435eddcf32
3 changed files with 21 additions and 0 deletions
|
@ -38,6 +38,16 @@ let
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Fold level
|
||||||
|
vim.opt.foldlevel = 99
|
||||||
|
vim.opt.foldlevelstart = 99
|
||||||
|
vim.opt.foldminlines = 1
|
||||||
|
vim.opt.foldnestmax = 5
|
||||||
|
vim.opt.foldmethod = "expr"
|
||||||
|
vim.cmd([[
|
||||||
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
|
]])
|
||||||
|
|
||||||
vim.g.catppuccin_flavour = "frappe"
|
vim.g.catppuccin_flavour = "frappe"
|
||||||
require("catppuccin").setup()
|
require("catppuccin").setup()
|
||||||
vim.cmd([[colorscheme catppuccin]])
|
vim.cmd([[colorscheme catppuccin]])
|
||||||
|
|
5
queries/folds.scm
Normal file
5
queries/folds.scm
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[
|
||||||
|
(block)
|
||||||
|
(class_block)
|
||||||
|
(text_block)
|
||||||
|
] @fold
|
6
queries/locals.scm
Normal file
6
queries/locals.scm
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
; Scope
|
||||||
|
[
|
||||||
|
(block)
|
||||||
|
(class_block)
|
||||||
|
(text_block)
|
||||||
|
] @scope
|
Loading…
Reference in a new issue