From ad4f4ff7515990b5b2a01bc3933346e11ebf0301 Mon Sep 17 00:00:00 2001
From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
Date: Fri, 22 Oct 2021 10:57:04 +0600
Subject: [PATCH] chore: repo transfer to nvim-lualine
---
BREAKING_CHANGES.md | 2 +-
README.md | 22 +++++++++----------
doc/lualine.txt | 8 +++----
lua/lualine.lua | 2 +-
.../components/special/vim_var_component.lua | 2 +-
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md
index f9e552a..2fcb48d 100644
--- a/BREAKING_CHANGES.md
+++ b/BREAKING_CHANGES.md
@@ -47,7 +47,7 @@ lualine_c = { function() return require'lsp-status'.status() end}
```
### Options simplification
-See [#24](https://github.com/shadmansaleh/lualine.nvim/pull/24) for details
+See [#24](https://github.com/nvim-lualine/lualine.nvim/pull/24) for details
- `upper` & `lower` removed use `string.upper/lower` in `fmt` option.
- separators are specified by left & right instead of position
instead of `{'>', '<'}` you'll use `{left= '>', right='<'}`.
diff --git a/README.md b/README.md
index 56dbb15..d2ebb98 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-![code size](https://img.shields.io/github/languages/code-size/shadmansaleh/lualine.nvim?style=flat-square)
-![license](https://img.shields.io/github/license/shadmansaleh/lualine.nvim?style=flat-square)
+![code size](https://img.shields.io/github/languages/code-size/nvim-lualine/lualine.nvim?style=flat-square)
+![license](https://img.shields.io/github/license/nvim-lualine/lualine.nvim?style=flat-square)
@@ -22,10 +22,10 @@ to see what you may have to change in your config.
## Contributing
Feel free to create an issue/pr if you want to see anything else implemented.
-If you have some question or need help with configuration start a [discussion](https://github.com/shadmansaleh/lualine.nvim/discussions).
+If you have some question or need help with configuration start a [discussion](https://github.com/nvim-lualine/lualine.nvim/discussions).
Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before opening a pr.
-You can also help with documentation in [wiki](https://github.com/shadmansaleh/lualine.nvim/wiki)
+You can also help with documentation in [wiki](https://github.com/nvim-lualine/lualine.nvim/wiki)
@@ -78,7 +78,7 @@ Last Updated On: 20-09-2021
### [vim-plug](https://github.com/junegunn/vim-plug)
```vim
-Plug 'shadmansaleh/lualine.nvim'
+Plug 'nvim-lualine/lualine.nvim'
" If you want to have icons in your statusline choose one of these
Plug 'kyazdani42/nvim-web-devicons'
```
@@ -87,7 +87,7 @@ Plug 'kyazdani42/nvim-web-devicons'
```lua
use {
- 'shadmansaleh/lualine.nvim',
+ 'nvim-lualine/lualine.nvim',
requires = {'kyazdani42/nvim-web-devicons', opt = true}
}
```
@@ -648,15 +648,15 @@ options = {disabled_filetypes = {'lua'}}
### Contributors
Thanks to these wonderful people we enjoy this awesome plugin.
-
-
+
+
### Wiki
-Check out the [wiki](https://github.com/shadmansaleh/lualine.nvim/wiki) for more info .
+Check out the [wiki](https://github.com/nvim-lualine/lualine.nvim/wiki) for more info .
-You can find some useful [configuration snippets](https://github.com/shadmansaleh/lualine.nvim/wiki/Component-snippets) here. You can also share your awesome snippents with others.
+You can find some useful [configuration snippets](https://github.com/nvim-lualine/lualine.nvim/wiki/Component-snippets) here. You can also share your awesome snippents with others.
If you want to extened lualine with plugins or want to know
-which ones already do [wiki/plugins](https://github.com/shadmansaleh/lualine.nvim/wiki/Plugins) is for you.
+which ones already do [wiki/plugins](https://github.com/nvim-lualine/lualine.nvim/wiki/Plugins) is for you.
diff --git a/doc/lualine.txt b/doc/lualine.txt
index 33e0d00..5d29a15 100644
--- a/doc/lualine.txt
+++ b/doc/lualine.txt
@@ -20,11 +20,11 @@ CONTRIBUTING *lualine-contributing*
Feel free to create an issue/pr if you want to see anything else implemented.
If you have some question or need help with configuration start a discussion
-.
+.
Please read CONTRIBUTING.md <./CONTRIBUTING.md> before opening a pr. You can
also help with documentation in wiki
-
+
PERFORMANCE COMPARED TO OTHER PLUGINS*lualine-performance-compared-to-other-plugins*
@@ -51,7 +51,7 @@ INSTALLATION *lualine-installation*
VIM-PLUG ~
>
- Plug 'shadmansaleh/lualine.nvim'
+ Plug 'nvim-lualine/lualine.nvim'
" If you want to have icons in your statusline choose one of these
Plug 'kyazdani42/nvim-web-devicons'
<
@@ -61,7 +61,7 @@ PACKER.NVIM ~
>
use {
- 'shadmansaleh/lualine.nvim',
+ 'nvim-lualine/lualine.nvim',
requires = {'kyazdani42/nvim-web-devicons', opt = true}
}
<
diff --git a/lua/lualine.lua b/lua/lualine.lua
index cc299e4..b6ff1eb 100644
--- a/lua/lualine.lua
+++ b/lua/lualine.lua
@@ -212,7 +212,7 @@ Theme `%s` not found, falling back to `auto`. Check if spelling is right.
### options.theme
Theme `%s` failed, falling back to `gruvbox`.
This shouldn't happen.
-Please report the issue at https://github.com/shadmansaleh/lualine.nvim/issues .
+Please report the issue at https://github.com/nvim-lualine/lualine.nvim/issues .
Also provide what colorscheme you're using.
]]
modules.utils_notices.add_notice(string.format(message_template, theme_name))
diff --git a/lua/lualine/components/special/vim_var_component.lua b/lua/lualine/components/special/vim_var_component.lua
index f6853a2..12932e6 100644
--- a/lua/lualine/components/special/vim_var_component.lua
+++ b/lua/lualine/components/special/vim_var_component.lua
@@ -15,7 +15,7 @@ function M:update_status()
return ''
end
-- Support accessing keys within dictionary
- -- https://github.com/shadmansaleh/lualine.nvim/issues/25#issuecomment-907374548
+ -- https://github.com/nvim-lualine/lualine.nvim/issues/25#issuecomment-907374548
local name_chunks = vim.split(var_name, '%.')
local return_val = vim[scope][name_chunks[1]]
for i = 2, #name_chunks do