From b3b74665442e3f19cff2ace41293e7e4c25ef657 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 25 Oct 2023 03:36:28 +0000 Subject: [PATCH] deploy: 30552a9ec3a8407e3d76f2cc4db5ad4cb3365a01 --- options.html | 132 +++++++++++++++++++++++++++++---------------- release-notes.html | 4 ++ 2 files changed, 89 insertions(+), 47 deletions(-) diff --git a/options.html b/options.html index c2051fe..f863990 100644 --- a/options.html +++ b/options.html @@ -1637,8 +1637,8 @@ Thus, it will not be wrapped in `""`.

Type:

vim.statusline.lualine.enable

Whether to enable lualine statusline plugin.

Type: boolean

Default: false

Example: true

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.a

active config for: | (A) | B | C X | Y | Z |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.a

active config for: | (A) | B | C X | Y | Z |

Type: list of string

Default:

[
+  ''
     {
       "mode",
       icons_enabled = true,
@@ -1646,29 +1646,31 @@ Thus, it will not be wrapped in `""`.

Type:

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.b

active config for: | A | (B) | C X | Y | Z |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.b

active config for: | A | (B) | C X | Y | Z |

Type: list of string

Default:

[
+  ''
     {
       "filetype",
       colored = true,
       icon_only = true,
       icon = { align = 'left' },
       color = {bg='none', fg='lavender'},
-    },
+    }
+  ''
+  ''
     {
       "filename",
       color = {bg='none'},
       symbols = {modified = '', readonly = ''},
-    },
-  }
-''

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.c

active config for: | A | B | (C) X | Y | Z |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.c

active config for: | A | B | (C) X | Y | Z |

Type: list of string

Default:

[
+  ''
     {
       "diff",
       colored = false,
@@ -1683,48 +1685,50 @@ Thus, it will not be wrapped in `""`.

Type:

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.x

active config for: | A | B | C (X) | Y | Z |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.x

active config for: | A | B | C (X) | Y | Z |

Type: list of string

Default:

[
+  ''
     {
       -- Lsp server name
       function()
         local buf_ft = vim.api.nvim_get_option_value('filetype', {})
-  
+    
         -- List of buffer types to exclude
         local excluded_buf_ft = {"toggleterm", "NvimTree", "TelescopePrompt"}
-  
+    
         -- Check if the current buffer type is in the excluded list
         for _, excluded_type in ipairs(excluded_buf_ft) do
           if buf_ft == excluded_type then
             return ""
           end
         end
-  
+    
         -- Get the name of the LSP server active in the current buffer
         local clients = vim.lsp.get_active_clients()
         local msg = 'No Active Lsp'
-  
+    
         -- if no lsp client is attached then return the msg
         if next(clients) == nil then
           return msg
         end
-  
+    
         for _, client in ipairs(clients) do
           local filetypes = client.config.filetypes
           if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then
             return client.name
           end
         end
-  
+    
         return msg
       end,
       icon = ' ',
       color = {bg='none', fg='lavender'},
-    },
+    }
+  ''
+  ''
     {
       "diagnostics",
       sources = {'nvim_lsp', 'nvim_diagnostic', 'coc'},
@@ -1735,37 +1739,43 @@ Thus, it will not be wrapped in `""`.

Type:

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.y

active config for: | A | B | C X | (Y) | Z |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.y

active config for: | A | B | C X | (Y) | Z |

Type: list of string

Default:

[
+  ''
     {
       'searchcount',
       maxcount = 999,
       timeout = 120,
       color = {bg='none', fg='lavender'}
-    },
+    }
+  ''
+  ''
     {
       "branch",
       icon = ' •',
       color = {bg='none', fg='lavender'},
-    },
-  }
-''

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.activeSection.z

active config for: | A | B | C X | Y | (Z) |

Type: string

Default:

''
-  {
+                
vim.statusline.lualine.activeSection.z

active config for: | A | B | C X | Y | (Z) |

Type: list of string

Default:

[
+  ''
     {
       "progress",
       separator = {
         left = '',
       },
-    },
+    }
+  ''
+  ''
     {
       "location",
-    },
+    }
+  ''
+  ''
     {
       "fileformat",
       color = {fg='black'},
@@ -1774,29 +1784,57 @@ Thus, it will not be wrapped in `""`.

Type:

Declared by:

+ } + '' +]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix>
vim.statusline.lualine.componentSeparator.left

Component separator for left side

Type: string

Default: ""

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix>
vim.statusline.lualine.componentSeparator.right

Component separator for right side

Type: string

Default: ""

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.a

Extra entries for activeSection.a

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.b

Extra entries for activeSection.b

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.c

Extra entries for activeSection.c

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.x

Extra entries for activeSection.x

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.y

Extra entries for activeSection.y

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraActiveSection.z

Extra entries for activeSection.z

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.a

Extra entries for inactiveSection.a

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.b

Extra entries for inactiveSection.b

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.c

Extra entries for inactiveSection.c

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.x

Extra entries for inactiveSection.x

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.y

Extra entries for inactiveSection.y

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix> +
vim.statusline.lualine.extraInactiveSection.z

Extra entries for inactiveSection.z

Type: list of string

Default: [ ]

Declared by:

+ <neovim-flake/modules/statusline/lualine/lualine.nix>
vim.statusline.lualine.globalStatus

Enable global status for lualine

Type: boolean

Default: true

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix>
vim.statusline.lualine.icons.enable

Whether to enable icons for lualine.

Type: boolean

Default: true

Example: true

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.a

inactive config for: | (A) | B | C X | Y | Z |

Type: string

Default: "{}"

Declared by:

+
vim.statusline.lualine.inactiveSection.a

inactive config for: | (A) | B | C X | Y | Z |

Type: list of string

Default: [ ]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.b

inactive config for: | A | (B) | C X | Y | Z |

Type: string

Default: "{}"

Declared by:

+
vim.statusline.lualine.inactiveSection.b

inactive config for: | A | (B) | C X | Y | Z |

Type: list of string

Default: [ ]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.c

inactive config for: | A | B | (C) X | Y | Z |

Type: string

Default: "{'filename'}"

Declared by:

+
vim.statusline.lualine.inactiveSection.c

inactive config for: | A | B | (C) X | Y | Z |

Type: list of string

Default:

[
+  "'filename'"
+]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.x

inactive config for: | A | B | C (X) | Y | Z |

Type: string

Default: "{'location'}"

Declared by:

+
vim.statusline.lualine.inactiveSection.x

inactive config for: | A | B | C (X) | Y | Z |

Type: list of string

Default:

[
+  "'location'"
+]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.y

inactive config for: | A | B | C X | (Y) | Z |

Type: string

Default: "{}"

Declared by:

+
vim.statusline.lualine.inactiveSection.y

inactive config for: | A | B | C X | (Y) | Z |

Type: list of string

Default: [ ]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> -
vim.statusline.lualine.inactiveSection.z

inactive config for: | A | B | C X | Y | (Z) |

Type: string

Default: "{}"

Declared by:

+
vim.statusline.lualine.inactiveSection.z

inactive config for: | A | B | C X | Y | (Z) |

Type: list of string

Default: [ ]

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix>
vim.statusline.lualine.refresh.statusline

Refresh rate for lualine

Type: signed integer

Default: 1000

Declared by:

<neovim-flake/modules/statusline/lualine/lualine.nix> diff --git a/release-notes.html b/release-notes.html index fa363cc..e9a0adf 100644 --- a/release-notes.html +++ b/release-notes.html @@ -241,4 +241,8 @@ Add black-and-isort python formatter Removed redundant "Enable …" in mkEnableOption descriptions
  • Add options to modify LSP key bindings and add proper whichkey descriptions +
  • +Changed type of statusline.lualine.activeSection and statusline.lualine.inactiveSection from attrsOf str to attrsOf (listOf str) +
  • +Added statusline.lualine.extraActiveSection and statusline.lualine.extraInactiveSection
  • \ No newline at end of file