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

https://github.com/acidburnmonkey/ruffer

This plugin uses Ruff to show warnings and errors inside neovim and allows you to run Ruff on the file without having to open a new terminal window.
https://github.com/acidburnmonkey/ruffer

formatter linter neovim python ruff

Last synced: about 1 month ago
JSON representation

This plugin uses Ruff to show warnings and errors inside neovim and allows you to run Ruff on the file without having to open a new terminal window.

Awesome Lists containing this project

README

          

# What is this ?

This plugin uses [Ruff](https://docs.astral.sh/ruff/) to show warnings and errors inside neovim and allows you to run Ruff on the file without having to
open a new terminal window. It supports pyproject.toml and ruff.toml.

# Install

- ruff must be on your path [Astral Site](https://docs.astral.sh/ruff/installation/)

### Lazy

```lua
{
'acidburnmonkey/ruffer',
config = function()
require('ruffer').setup()
end,
},
```

### Or Others

```
{'acidburnmonkey/ruffer'}
```

on init.lua add

```lua
require('ruffer').setup()
```

# Screenshot

![ruffer](img/image.png)

# Key Mappings

### Defaults

- \ Show UI
- \ Runs the Ruff Formatter

### Remap Defaults

```lua
-- Load the plugin
require('ruffer')

-- Map :Ruffer to f for showing errors
vim.keymap.set('n', 'f', ':Ruffer', { noremap = true, silent = true })

-- Map :RufferFormat to F for formatting
vim.keymap.set('n', 'F', ':RufferFormat', { noremap = true, silent = true })
```






# Chill links

Buy Me A Ferrai

## Monero

```
43Sxiso2FHsYhP7HTqZgsXa3m3uHtxHQdMeHxECqRefyazZfpGVCLVsf1gU68jxJBo1G171AC181q1BqAUaG1m554MLsspG
```

## Bitcon

```
bc1qk06cyheffclx7x434zpxjzcdl50452r9ducw0x
```