Skip to content

Commit

Permalink
Merge pull request #84 from Isrothy/tip
Browse files Browse the repository at this point in the history
doc: Tip to always show signcolumn
  • Loading branch information
Isrothy authored Aug 13, 2024
2 parents fa3be6f + 76feed4 commit bd54eb3
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ With Lazy:
The following is the default configuration.

```lua
M.default_config = {
{
-- Enable the plugin by default
auto_enable = true, ---@type boolean

Expand Down Expand Up @@ -355,10 +355,22 @@ between the highlights in the minimap and those in the buffer.
### Disable minimap for large file

```lua
buf_filter = function(bufnr)
local line_count = vim.api.nvim_buf_line_count(bufnr)
return line_count < 4096
end,
vim.g.neominimap = {
buf_filter = function(bufnr)
local line_count = vim.api.nvim_buf_line_count(bufnr)
return line_count < 4096
end
}
```

### Always show signcolumn

```lua
vim.g.neominimap = {
winopt = {
signcolumn = "yes",
}
}
```

## Highlights
Expand Down

0 comments on commit bd54eb3

Please sign in to comment.