feat: add icons to git_status finder#401
feat: add icons to git_status finder#401tjdevries merged 7 commits intonvim-telescope:masterfrom sunjon:git_icons
Conversation
alright, I'll assume the icon problems are on my end until more people have tested it. |
|
The default icon choices are a bit random. |
|
these are the options available if anyone else has time to test; |
|
Hmm i don't know how i feel about this. I used I think that message is a mess. I am still to tired. |
I agree. I wanted someone else's opinion as to how to make the display coherent.
edit: also I just wanted to put it up here so I could get some feedback on my/the icon width issue! :) |
|
Its all good :) Still thanks for putting it up. Its important that we talk about things like this and find a common ground and ultimately have a better builtin :) Right now i am thinking having a second |
|
are you going to make the |
| local make_display = function(entry) | ||
| local modified = "TelescopeResultsDiffChange" | ||
| local staged = "TelescopeResultsDiffAdd" | ||
| local icons = opts.git_icons or git_icon_defaults |
There was a problem hiding this comment.
We should probably do something where we just create a new icons table that has a merging of the passed in icons and the defaults, if you only want to override one thing.
Also, maybe a list of the names somewhere and/or an example with pretty icons.
|
If anyone doesn't like the new setup, let's chat in a new issue / PR. I think this is cool :) |
* upstream/master: picker(live_grep): add option to grep only over open files (nvim-telescope#666) git(action): create and checkout branch (nvim-telescope#755) readme: fix broken links and spelling errors (nvim-telescope#753) added a new DynamicFinder (which can be used with rust_analyzer) (nvim-telescope#705) feat: add icons to git_status finder (nvim-telescope#401) fix: update to newer code (nvim-telescope#744) pickers(buffers): added only_cwd opt (nvim-telescope#739) feat: asyncify pickers - except for live_grep (nvim-telescope#709) fix: Use standardized names for current buffer fuzzy find (nvim-telescope#737) fix(git_branches): use the quoted fields instead of json-formatting and fix regressions with nvim-telescope#695 (nvim-telescope#704) feat: buf highlights for current buffer fuzzy find (nvim-telescope#732)
This is WIP as there's an issue with some of the double width icons getting cut in half.
Can anyone test and see if they see the same?