Commit graph

18 commits

Author SHA1 Message Date
Sanchayan Maity cd50d8f956
nvim: statusline: Make winbar status be relative to current directory
We want file path being shown in winbar to be relative to the current
directory or in our case frequently the git root. For whatever reason,
only the first opened leftmost split would show the file path relative
to current git root while any files opened later would show the full
path starting from `HOME`/~ directory. So something around how '%f%m%r'
actually works or how it is being used to set winbar has been a problem.
2024-04-12 11:01:26 +05:30
Sanchayan Maity f3736630c0
nvim: statusline: Fix git status being nil
signs.add/change/delete can be nil for a file not yet being tracked
with git. This was broken in 703d23c.
2024-04-09 15:13:54 +05:30
Sanchayan Maity 703d23c76e
nvim: after/plugin/mini: Switch to mini.diff from gitsigns 2024-04-08 14:49:36 +05:30
Sanchayan Maity 0265000a4f
nvim: lsp/statusline: Add support for LSP progress
Use the same timer loop for updating LSP progress in status line
which we use for updating git ahead, behind status.
2023-06-24 15:30:22 +05:30
Sanchayan Maity c1e4b234fb
nvim: statusline: vim.loop has been renamed to vim.uv 2023-06-22 17:16:23 +05:30
Sanchayan Maity 6b9de43829 nvim: statusline: Add space after git ahead behind symbol 2022-09-05 19:04:30 +05:30
Sanchayan Maity a18a0415b7 nvim: statusline: Do not set winbar for floating windows 2022-08-31 12:21:28 +05:30
Sanchayan Maity f315c0060b nvim: statusline: Allow more width for git branch 2022-06-25 17:05:49 +05:30
Sanchayan Maity add2ceb869 nvim: statusline: Enable winbar
Use it to show full path for file. This frees up space in status line
when git branch names are long.
2022-06-08 09:51:47 +05:30
Sanchayan Maity d9746a1c73 nvim: statusline: Decrease the truncation width for git status 2022-03-23 10:28:22 +05:30
Sanchayan Maity 39acdb222f nvim: statusline: Use the new auto command API 2022-03-04 20:19:20 +05:30
Sanchayan Maity 0246931b56 nvim: after/plugin/statusline: Add a git branch ahead behind component
Taken from
https://www.reddit.com/r/neovim/comments/t48x5i/git_branch_aheadbehind_info_status_line_component
2022-03-04 10:14:46 +05:30
Sanchayan Maity 16d3b05a8f nvim: plugins: Drop nvim-gps 2022-03-02 10:46:45 +05:30
Sanchayan Maity 6bf989871e nvim: statusline: Fix tree-sitter status
Fixing based on file type was not good enough. Check for error
return and act accordingly.
2022-02-13 14:01:03 +05:30
Sanchayan Maity 9c16443e10 nvim: statusline: Handle some more cases for filename & treesitter status 2022-02-10 21:31:57 +05:30
Sanchayan Maity 66af0bbd9e nvim: after/plugin/statusline: Use nvim-gps for statusline 2022-02-09 18:14:12 +05:30
Sanchayan Maity 8b424a2533 nvim: after/plugin/statusline: Use nvim_set_hl API
See https://github.com/neovim/neovim/pull/17187.
2022-02-08 15:47:57 +05:30
Sanchayan Maity 73dd1939bd nvim: after/plugin/statusline: Write our own status line plugin
Drop lualine and use our own simple status line. We do not need any
of the fancy stuff, so this works just fine.
2022-01-24 16:15:52 +05:30