Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/code-biscuits/nvim-biscuits

A neovim port of Assorted Biscuits. Ends up with more supported languages too.
https://github.com/code-biscuits/nvim-biscuits

Last synced: about 2 months ago
JSON representation

A neovim port of Assorted Biscuits. Ends up with more supported languages too.

Lists

README

        

# nvim-biscuits

Every dev needs something sweet sometimes. Code Biscuits are in-editor annotations usually at the end of a closing tag/bracket/parenthesis/etc. They help you get the context of the end of that AST node so you don't have to navigate to find it.

## Demo

Here you can see the plugin being used on a Go file with `cursor_line_only` turned on.

![Demo of the plugin being used on a Golang file](./assets/demo.gif)

## Installation

In your nvim config, add the Plug dependencies:

Using Vim Plug:

```lua
call plug#begin()
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'code-biscuits/nvim-biscuits'
call plug#end()
```
Using Packer:

```lua
use {
'code-biscuits/nvim-biscuits',
requires = {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate'
},
}

```

You will also need to configure which language parsers you want to have enabled for tree-sitter. "maintained" currently will install 40 languages. "all" will install even more.

```lua
lua <