mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
21 lines
340 B
Lua
21 lines
340 B
Lua
-- nvim-treesitter-context – https://github.com/nvim-treesitter/nvim-treesitter-context
|
||
local status_ok, context = pcall(require, "treesitter-context")
|
||
if not status_ok then
|
||
return
|
||
end
|
||
|
||
context.setup({
|
||
patterns = {
|
||
default = {
|
||
"class",
|
||
"function",
|
||
"method",
|
||
"for",
|
||
"while",
|
||
"if",
|
||
"switch",
|
||
"case",
|
||
},
|
||
},
|
||
})
|