mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-04 20:52:21 +00:00
Compare commits
No commits in common. "47735a6be6083e39f2e832e91177b3ddb7933056" and "a9503c8ef8338f6425e23ee4b5c8863a97d85064" have entirely different histories.
47735a6be6
...
a9503c8ef8
3 changed files with 8 additions and 16 deletions
|
|
@ -439,4 +439,3 @@
|
||||||
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
|
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
|
||||||
Available at `vim.utility.smart-splits`.
|
Available at `vim.utility.smart-splits`.
|
||||||
|
|
||||||
- Fix lualine separator options
|
|
||||||
|
|
|
||||||
|
|
@ -57,21 +57,14 @@
|
||||||
signs = mkOption {
|
signs = mkOption {
|
||||||
type = diagnosticType;
|
type = diagnosticType;
|
||||||
default = false;
|
default = false;
|
||||||
example = literalExpression ''
|
example = {
|
||||||
signs.text = lib.generators.mkLuaInline '''
|
signs.text = {
|
||||||
{
|
"vim.diagnostic.severity.ERROR" = " ";
|
||||||
[vim.diagnostic.severity.ERROR] = " ",
|
"vim.diagnostic.severity.WARN" = " ";
|
||||||
[vim.diagnostic.severity.WARN] = " ",
|
};
|
||||||
}
|
};
|
||||||
''';
|
|
||||||
'';
|
|
||||||
description = ''
|
description = ''
|
||||||
Use signs for diagnostics. See {command}`:help diagnostic-signs`.
|
Use signs for diagnostics. See {command}`:help diagnostic-signs`.
|
||||||
|
|
||||||
:::{.note}
|
|
||||||
The code presented in that example section uses Lua expressions as object keys which
|
|
||||||
only translate well if you use `lib.generators.mkLuaInline` as in the example.
|
|
||||||
:::
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,8 +63,8 @@ in {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = mkDefault cfg.icons.enable;
|
icons_enabled = mkDefault cfg.icons.enable;
|
||||||
theme = mkDefault cfg.theme;
|
theme = mkDefault cfg.theme;
|
||||||
component_separators = mkDefault cfg.componentSeparator;
|
component_separators = mkDefault [cfg.componentSeparator.left cfg.componentSeparator.right];
|
||||||
section_separators = mkDefault cfg.sectionSeparator;
|
section_separators = mkDefault [cfg.sectionSeparator.left cfg.sectionSeparator.right];
|
||||||
globalstatus = mkDefault cfg.globalStatus;
|
globalstatus = mkDefault cfg.globalStatus;
|
||||||
refresh = mkDefault cfg.refresh;
|
refresh = mkDefault cfg.refresh;
|
||||||
always_divide_middle = mkDefault cfg.alwaysDivideMiddle;
|
always_divide_middle = mkDefault cfg.alwaysDivideMiddle;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue