use treesitter coldfolding

This commit is contained in:
Ray Elliott 2022-02-06 10:28:49 +00:00
parent 924b4c7341
commit 939041bd35
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,11 @@
extends html
snippet pre "<pre>print_r()</pre>"
echo "<pre>";
print_r($0);
echo "</pre>";
endsnippet
snippet if "if () {}"
if ($1) {
$0

View File

@ -1,2 +1 @@
setlocal iskeyword+=$
setlocal foldmethod=syntax

View File

@ -297,7 +297,6 @@ set laststatus=2
set shortmess=aoOT
set cmdheight=3
set foldmethod=indent
set foldnestmax=9
set foldlevelstart=99

View File

@ -1,3 +1,6 @@
vim.o.foldmethod='expr'
vim.o.foldexpr='nvim_treesitter#foldexpr()'
vim.diagnostic.config({
virtual_text = false,
signs = true,