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.
- Host: GitHub
- URL: https://github.com/code-biscuits/nvim-biscuits
- Owner: code-biscuits
- License: mit
- Created: 2021-03-28T19:35:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T01:33:40.000Z (about 1 year ago)
- Last Synced: 2024-01-24T10:40:05.793Z (4 months ago)
- Language: Lua
- Size: 1.59 MB
- Stars: 193
- Watchers: 3
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-neovim - code-biscuits/nvim-biscuits - A Neovim port of Assorted Biscuits. Ends up with more supported languages too. (Utility / Cursorline)
- awesome-stars - code-biscuits/nvim-biscuits - A neovim port of Assorted Biscuits. Ends up with more supported languages too. (Lua)
- awesome-stars - nvim-biscuits - biscuits | 138 | (Lua)
- my-awesome-stars - code-biscuits/nvim-biscuits - A neovim port of Assorted Biscuits. Ends up with more supported languages too. (Lua)
- awesome-stars - code-biscuits/nvim-biscuits - A neovim port of Assorted Biscuits. Ends up with more supported languages too. (Lua)
- awesome-neovim - code-biscuits/nvim-biscuits - A Neovim port of Assorted Biscuits. Ends up with more supported languages too. (Utility / Cursorline)
- awesome-neovim - code-biscuits/nvim-biscuits - A Neovim port of Assorted Biscuits. Ends up with more supported languages too. (Utility / Cursorline)
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 <