summaryrefslogtreecommitdiffstats
path: root/README.md
blob: bbbdb2ccdcd5d67b9249cb11bc68c041fe716098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# netrw-icons.nvim

An extension plugin for Neovim’s built-in `netrw` file explorer that adds:

- File and directory icons
- LSP diagnostics indicators

## Features

- No replacement of `netrw` — pure extension
- File and directory icons inside `netrw`
- Supports multiple icon providers:
  - `nvim-web-devicons`
  - `mini.icons`
- LSP diagnostics integration

## Requirements

- Neovim ≥ 0.9
- One of the following (optional):
  - [`nvim-web-devicons`](https://github.com/nvim-tree/nvim-web-devicons)
  - [`mini.icons`](https://github.com/echasnovski/mini.nvim)
- Neovim built-in LSP (optional, for diagnostics)

## Installation

Using `lazy.nvim`:

```lua
{
  "yourname/netrw-plus.nvim",
  dependencies = {
    "nvim-tree/nvim-web-devicons", -- or "echasnovski/mini.nvim",       
  },
  config = function()
    require("netrw-plus").setup({
        prefer = "devicons"
        file = true,
        dir = true,
        lsp = {
            info = false,
            hint = false,
            warn = true,
            error = true,
        }
    })
  end,
}