mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/oil-git-status: update signcolumn
instructions
See: - https://github.com/refractalize/oil-git-status.nvim#configuration - https://neovim.io/doc/user/options.html#'signcolumn'
This commit is contained in:
parent
3556951d36
commit
2797fd8b64
2 changed files with 23 additions and 13 deletions
|
@ -17,17 +17,27 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
listing so it won't slow oil down on big repositories. The plugin puts the status in two new sign columns
|
listing so it won't slow oil down on big repositories. The plugin puts the status in two new sign columns
|
||||||
the left being the status of the index, the right being the status of the working directory
|
the left being the status of the index, the right being the status of the working directory
|
||||||
|
|
||||||
`win_options.signcolumn` needs to be configured in `plugins.oil.settings`:
|
> [!NOTE]
|
||||||
```nix
|
> This plugin requires you configure `plugins.oil` to allow at least 2 sign columns:
|
||||||
plugins.oil = {
|
>
|
||||||
enable = true;
|
> ```nix
|
||||||
settings = {
|
> plugins.oil = {
|
||||||
win_options = {
|
> enable = true;
|
||||||
signcolumn = "yes:2,";
|
> settings = {
|
||||||
};
|
> win_options = {
|
||||||
};
|
> signcolumn = "yes:2";
|
||||||
};
|
> };
|
||||||
```
|
> };
|
||||||
|
> };
|
||||||
|
> ```
|
||||||
|
>
|
||||||
|
> Valid values include `yes` or `auto` with a "max" of at least `2`.
|
||||||
|
> E.g. `"yes:2"` or `"auto:1-2"`.
|
||||||
|
>
|
||||||
|
> See [plugin docs][readme-configuration] and [`:h 'signcolumn'`]
|
||||||
|
|
||||||
|
[readme-configuration]: https://github.com/refractalize/oil-git-status.nvim#configuration
|
||||||
|
[`:h 'signcolumn'`]: https://neovim.io/doc/user/options.html#'signcolumn'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
maintainers = [ lib.maintainers.FKouhai ];
|
maintainers = [ lib.maintainers.FKouhai ];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
win_options = {
|
win_options = {
|
||||||
signcolumn = "yes:2,";
|
signcolumn = "yes:2";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
win_options = {
|
win_options = {
|
||||||
signcolumn = "yes:2,";
|
signcolumn = "yes:2";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue