mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-04 04:35:29 +00:00
21 lines
312 B
Lua
21 lines
312 B
Lua
-- 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",
|
|
},
|
|
},
|
|
})
|