Working on a lot of code can be overwelming sometimes, so just focus on one function at the time. Peepsight is created to allow you to focus on a single function using treesitter.
Make sure you are using Neovim (v0.7) or the latest Neovim nightly.
Using vim-plug
Plug 'koenverburg/peepsight.nvim'
Using dein
call dein#add('koenverburg/peepsight.nvim')
Using packer.nvim
use 'koenverburg/peepsight.nvim'
require('peepsight').setup({
  -- go
  "function_declaration",
  "method_declaration",
  "func_literal",
  -- typescript
  "class_declaration",
  "method_definition",
  "arrow_function",
  "function_declaration",
  "generator_function_declaration"
})
PeepsightEnable
PeepsightDisable
Alternatively you can start Peepsight with the Lua API:
local peepsight = require("peepsight")
peepsight.enable()
peepsight.disable()
peepsight.toggle()