Awesome Open Source
Awesome Open Source

Peepsight

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.

asciicast

Installation

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'

Setup

require('peepsight').setup({
  -- go
  "function_declaration",
  "method_declaration",
  "func_literal",

  -- typescript
  "class_declaration",
  "method_definition",
  "arrow_function",
  "function_declaration",
  "generator_function_declaration"
})

Usage

PeepsightEnable
PeepsightDisable

Grammers

Related Projects

Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Lua (38,455
Vim (18,820
Neovim (4,799
Nvim (1,807
Neovim Plugin (951
Nvim Plugin (207
Neovim Configuration (168
Neovim Lua (144
Nvim Lua (99
Nvim Configs (55