update nvim config

This commit is contained in:
LordMZTE 2022-11-04 22:00:54 +01:00
parent 0fffe74628
commit d9dfa0587d
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 11 additions and 1 deletions

View file

@ -15,7 +15,6 @@ end
ufo.setup {
open_fold_hl_timeout = 0, -- disable blinky thingy when opening fold
provider_selector = function(bufnr, ft, _)
print "provider_selector"
if has_lsp_folds(bufnr) then
return { "lsp", "indent" }
elseif ts_parsers.has_parser(ft) then

View file

@ -2,7 +2,18 @@ local tsc = require "treesitter-context"
tsc.setup {
patterns = {
zig = {
"block",
"FnProto",
"function",
"TopLevelDecl",
"Statement",
"IfStatement",
"WhileStatement",
"WhileExpr",
"ForStatement",
"ForExpr",
"WhileStatement",
"WhileExpr",
},
html = {