mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 11:23:05 +01:00
update nvim config
This commit is contained in:
parent
0fffe74628
commit
d9dfa0587d
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue