chore: update readme

This commit is contained in:
shadmansaleh 2021-10-22 19:10:33 +06:00
parent 7d3ac0d373
commit 71f6fed3c3
4 changed files with 5 additions and 15 deletions

View File

@ -1,8 +1,6 @@
This file contains breaking changes that have been made in this branch to This file contains breaking changes in chronological order. It's possible
make it easier to switch from [hoob3rt/lualine.nvim](https://github.com/hoob3rt/lualine.nvim) breaking change has been made several times to the same thing. In that case
This file contains changes in chronological order. It's possible breaking change the one nearest the bottom indicates current state.
has been made several times to the same thing. In that case the one nearest the
bottom indicates current state.
### Color option unification ### Color option unification
color_added, color_modified, color_removed options in diff & color_error, color_added, color_modified, color_removed options in diff & color_error,

View File

@ -11,14 +11,6 @@ A blazing fast and easy to configure Neovim statusline written in Lua
`lualine.nvim` requires neovim 0.5 `lualine.nvim` requires neovim 0.5
<!-- panvimdoc-ignore-start -->
This is a fork of [hoob3rt/lualine.nvim](https://github.com/hoob3rt/lualine.nvim).
If you're switching from there please checkout [BREAKING_CHANGES.md](./BREAKING_CHANGES.md)
to see what you may have to change in your config.
<!-- panvimdoc-ignore-end -->
## Contributing ## Contributing
Feel free to create an issue/pr if you want to see anything else implemented. Feel free to create an issue/pr if you want to see anything else implemented.

View File

@ -115,7 +115,7 @@ function M.init()
end end
function M.get_branch(bufnr) function M.get_branch(bufnr)
if vim.g.actual_curbuf ~= nil and active_bufnr ~= vim.g.actual_curbuf then if vim.g.actual_curbuf ~= nil and active_bufnr ~= vim.g.actual_curbuf then
-- Workaround for https://github.com/hoob3rt/lualine.nvim/issues/286 -- Workaround for https://github.com/nvim-lualine/lualine.nvim/issues/286
-- See upstream issue https://github.com/neovim/neovim/issues/15300 -- See upstream issue https://github.com/neovim/neovim/issues/15300
-- Diff is out of sync re sync it. -- Diff is out of sync re sync it.
M.find_git_dir() M.find_git_dir()

View File

@ -46,7 +46,7 @@ function M.get_sign_count(bufnr)
git_diff = M.src() git_diff = M.src()
diff_cache[vim.fn.bufnr()] = git_diff diff_cache[vim.fn.bufnr()] = git_diff
elseif vim.g.actual_curbuf ~= nil and active_bufnr ~= vim.g.actual_curbuf then elseif vim.g.actual_curbuf ~= nil and active_bufnr ~= vim.g.actual_curbuf then
-- Workaround for https://github.com/hoob3rt/lualine.nvim/issues/286 -- Workaround for https://github.com/nvim-lualine/lualine.nvim/issues/286
-- See upstream issue https://github.com/neovim/neovim/issues/15300 -- See upstream issue https://github.com/neovim/neovim/issues/15300
-- Diff is out of sync re sync it. -- Diff is out of sync re sync it.
M.update_diff_args() M.update_diff_args()