{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":378088544,"defaultBranch":"main","name":"mini.nvim","ownerLogin":"echasnovski","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-06-18T08:43:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/24854248?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1725536363.0","currentOid":""},"activityList":{"items":[{"before":"eb0f557a5797cfe9c720ed84a71582c22bccb4f8","after":"14f81b96d850d561b6ed0c1e6715fdd724e4447f","ref":"refs/heads/sync","pushedAt":"2024-09-05T13:34:03.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"fix(ALL): adjust after `vim.tbl_deep_extend` change on Nightly\n\nIt now merges tables on any level regardless of whether it is array or\nnot. This seems like a better behavior, which needs adjusting in several\nplaces working with extending array table items (and need to prefer full\narray from the user instead of cherry-picking array elements).","shortMessageHtmlLink":"fix(ALL): adjust after vim.tbl_deep_extend
change on Nightly"}},{"before":"eb0f557a5797cfe9c720ed84a71582c22bccb4f8","after":"14f81b96d850d561b6ed0c1e6715fdd724e4447f","ref":"refs/heads/main","pushedAt":"2024-09-05T13:21:51.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"fix(ALL): adjust after `vim.tbl_deep_extend` change on Nightly\n\nIt now merges tables on any level regardless of whether it is array or\nnot. This seems like a better behavior, which needs adjusting in several\nplaces working with extending array table items (and need to prefer full\narray from the user instead of cherry-picking array elements).","shortMessageHtmlLink":"fix(ALL): adjust after vim.tbl_deep_extend
change on Nightly"}},{"before":"7874974b5ae09fc13f2e607768b63d587cfa1fb6","after":"14f81b96d850d561b6ed0c1e6715fdd724e4447f","ref":"refs/heads/tmp","pushedAt":"2024-09-05T13:07:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"fix(ALL): adjust after `vim.tbl_deep_extend` change on Nightly\n\nIt now merges tables on any level regardless of whether it is array or\nnot. This seems like a better behavior, which needs adjusting in several\nplaces working with extending array table items (and need to prefer full\narray from the user instead of cherry-picking array elements).","shortMessageHtmlLink":"fix(ALL): adjust after vim.tbl_deep_extend
change on Nightly"}},{"before":null,"after":"7874974b5ae09fc13f2e607768b63d587cfa1fb6","ref":"refs/heads/tmp","pushedAt":"2024-09-05T11:39:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): autocreate `'` bookmark before every jump to other bookmark\n\nThis way jumping to previous branch is a bit easier with `''`. This also\nis very close to the \"go to alternative location\" workflow envisioned\nearlier for built-in bookmarks.\n\nResolve #1197","shortMessageHtmlLink":"feat(files): autocreate '
bookmark before every jump to other bookmark"}},{"before":"8132815239c4693c4556defdad175f295ec7c95f","after":"d5ca7414a4558445e331d0efcefc1ec53009ecc4","ref":"refs/heads/backlog","pushedAt":"2024-09-04T15:17:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(ALL): ensure plugin's highlights after any color scheme\n\nThis also unifies how `setup()` autocommands are created across modules.\n\nResolve #1016","shortMessageHtmlLink":"feat(ALL): ensure plugin's highlights after any color scheme"}},{"before":"dc97f1d84f4f1543cf1b5f4fe665bf6422b8855e","after":"8132815239c4693c4556defdad175f295ec7c95f","ref":"refs/heads/backlog","pushedAt":"2024-09-04T11:59:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"refactor(ALL): unify across modules colors and autocommand creation","shortMessageHtmlLink":"refactor(ALL): unify across modules colors and autocommand creation"}},{"before":"73f2e7a596bbb4e6ae6728d3a4426221ffc9512d","after":"eb0f557a5797cfe9c720ed84a71582c22bccb4f8","ref":"refs/heads/sync","pushedAt":"2024-09-03T13:23:15.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"73f2e7a596bbb4e6ae6728d3a4426221ffc9512d","after":"eb0f557a5797cfe9c720ed84a71582c22bccb4f8","ref":"refs/heads/main","pushedAt":"2024-09-03T13:13:45.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"8a9597460befc3f83fba97c2d199eabc6d2650b8","after":"eb0f557a5797cfe9c720ed84a71582c22bccb4f8","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-03T09:17:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"fc3cefc08422c8fac788ddee570d9c0c541d54c3","after":"8a9597460befc3f83fba97c2d199eabc6d2650b8","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-02T18:28:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"dc3399568bb0901558c71f4bf7bffcc5bbef706d","after":"fc3cefc08422c8fac788ddee570d9c0c541d54c3","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-02T18:12:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"0c47c18387eb298eecdb64c5656ebc0fae821bfa","after":"dc3399568bb0901558c71f4bf7bffcc5bbef706d","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-02T13:45:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implement bookmarks","shortMessageHtmlLink":"feat(files): implement bookmarks"}},{"before":"616ae45bdc917a9d84ec4ef358a030f4bbd63421","after":"0c47c18387eb298eecdb64c5656ebc0fae821bfa","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-01T17:00:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implements bookmarks","shortMessageHtmlLink":"feat(files): implements bookmarks"}},{"before":"c63236418d3b3e257ed8f537122409e7b80b6cac","after":"616ae45bdc917a9d84ec4ef358a030f4bbd63421","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-01T16:44:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): implements bookmarks","shortMessageHtmlLink":"feat(files): implements bookmarks"}},{"before":"810cb8372cfad8e9da48d9ca3917496b59103a80","after":"c63236418d3b3e257ed8f537122409e7b80b6cac","ref":"refs/heads/files_set-branch","pushedAt":"2024-09-01T12:18:26.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): add `set_branch()`\n\nIt modifies which paths are attempted to be displayed in explorer.\nCan be used to power all kinds of workflows:\n- Reveal ancestor/descendant directory.\n- Restore some previously visited branch.\n- Show path from a set of bookmarks.\n- And more.\n\nResolve #928","shortMessageHtmlLink":"feat(files): add set_branch()
"}},{"before":null,"after":"810cb8372cfad8e9da48d9ca3917496b59103a80","ref":"refs/heads/files_set-branch","pushedAt":"2024-08-31T15:02:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): add `set_branch()`\n\nDRAFT\n\nResolve #928","shortMessageHtmlLink":"feat(files): add set_branch()
"}},{"before":"22bc4d3dff4b5164ee11dbaec210f99b2366a6c1","after":null,"ref":"refs/heads/files-prefix-in-preview","pushedAt":"2024-08-31T15:02:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"}},{"before":"f475a5c1712068223ba6a2d49a42ba5597b96072","after":null,"ref":"refs/heads/files-backlog","pushedAt":"2024-08-31T15:02:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"}},{"before":"3cf9265bbde75d1358d126701eb6055034491df6","after":null,"ref":"refs/heads/files-complex-manip","pushedAt":"2024-08-31T15:02:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"}},{"before":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","after":"73f2e7a596bbb4e6ae6728d3a4426221ffc9512d","ref":"refs/heads/sync","pushedAt":"2024-08-31T12:34:31.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"test(files): use `get_explorer_state()` based helper where reasonable","shortMessageHtmlLink":"test(files): use get_explorer_state()
based helper where reasonable"}},{"before":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","after":"73f2e7a596bbb4e6ae6728d3a4426221ffc9512d","ref":"refs/heads/main","pushedAt":"2024-08-31T12:06:03.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"test(files): use `get_explorer_state()` based helper where reasonable","shortMessageHtmlLink":"test(files): use get_explorer_state()
based helper where reasonable"}},{"before":"c4e9e55d1ed6795d1e79c24681594fccc62ac4b9","after":"dc97f1d84f4f1543cf1b5f4fe665bf6422b8855e","ref":"refs/heads/backlog","pushedAt":"2024-08-31T09:04:54.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"test(files): use `get_explorer_state()` based helper where reasonable","shortMessageHtmlLink":"test(files): use get_explorer_state()
based helper where reasonable"}},{"before":"57e47cf7a2923684e7413989ab267ed9730e7d03","after":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","ref":"refs/heads/sync","pushedAt":"2024-08-30T18:19:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): allow setting `kind_hlgroup` inside `process_items`","shortMessageHtmlLink":"feat(completion): allow setting kind_hlgroup
inside process_items
"}},{"before":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","after":"c4e9e55d1ed6795d1e79c24681594fccc62ac4b9","ref":"refs/heads/backlog","pushedAt":"2024-08-30T17:38:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(files): add `get_explorer_data()` function\n\nDRAFT","shortMessageHtmlLink":"feat(files): add get_explorer_data()
function"}},{"before":"57e47cf7a2923684e7413989ab267ed9730e7d03","after":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","ref":"refs/heads/main","pushedAt":"2024-08-30T17:10:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): allow setting `kind_hlgroup` inside `process_items`","shortMessageHtmlLink":"feat(completion): allow setting kind_hlgroup
inside process_items
"}},{"before":"57e47cf7a2923684e7413989ab267ed9730e7d03","after":"08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909","ref":"refs/heads/backlog","pushedAt":"2024-08-30T12:50:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): allow setting `kind_hlgroup` inside `process_items`","shortMessageHtmlLink":"feat(completion): allow setting kind_hlgroup
inside process_items
"}},{"before":"b5ee41d2b8ab54f8b6b383b488e822c5cc431871","after":"57e47cf7a2923684e7413989ab267ed9730e7d03","ref":"refs/heads/sync","pushedAt":"2024-08-29T11:56:53.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): add LSP kind highlighting\n\nRequires set up 'mini.icons' and Neovim>=0.11 (after introduction of\n`kind_hlgroup` field of completion item; check `:h complete-items`).\n\nThis is intentionally enabled by default (if 'mini.icons' is enabled)\nwithout new option to disable it (because it is not *really* needed).\nHere are suggested solutions to possible problems:\n\n- \"Text is not readable when selected\" -> Adjust `PmenuSel` (and maybe\n `PmenuKindSel`). Highlighting is done with 'mini.icons' highlight\n groups which are designed to have only foreground highlighted with\n color which has lightness similar to that of `Normal` foreground.\n\n It can so happen that `PmenuSel` intentionally has more \"inverted\"\n look by essentially reversing background and foreground lightness.\n In this case, switching foreground and background attributes while\n adding `reverse` attribute should fix readability issue.\n\n Example:\n - Current:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#3c3836 guibg=#83a598 gui=bold\n - Adjusted:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#83a598 guibg=#3c3836 gui=bold,reverse\n\n This works because `kind_hlgroup` will first combine with switched\n `fg`/`bg` and only then reverse. It will result in colored background\n and readable text.\n\n This can be done in user config or (better) with PR to color scheme.\n\n- \"Text is not readable\" -> Adjust `PmenuKind` to have darker/lighter\n background or use the same \"switch fg/bg and reverse\" trick.\n\n- \"I don't want any highlighting but still want to use 'mini.icons'\" ->\n Adjust highlight group of all items in \"lsp\" category. For example:\n ```lua\n vim.api.nvim_set_hl(0, 'NoHL', {})\n local icons = require('mini.icons')\n local lsp_category = {}\n for _, name in ipairs(icons.list('lsp')) do\n lsp_category[name] = { hl = 'NoHL' }\n end\n icons.setup({ lsp = lsp_category })\n ```","shortMessageHtmlLink":"feat(completion): add LSP kind highlighting"}},{"before":"b5ee41d2b8ab54f8b6b383b488e822c5cc431871","after":"57e47cf7a2923684e7413989ab267ed9730e7d03","ref":"refs/heads/main","pushedAt":"2024-08-29T11:56:24.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): add LSP kind highlighting\n\nRequires set up 'mini.icons' and Neovim>=0.11 (after introduction of\n`kind_hlgroup` field of completion item; check `:h complete-items`).\n\nThis is intentionally enabled by default (if 'mini.icons' is enabled)\nwithout new option to disable it (because it is not *really* needed).\nHere are suggested solutions to possible problems:\n\n- \"Text is not readable when selected\" -> Adjust `PmenuSel` (and maybe\n `PmenuKindSel`). Highlighting is done with 'mini.icons' highlight\n groups which are designed to have only foreground highlighted with\n color which has lightness similar to that of `Normal` foreground.\n\n It can so happen that `PmenuSel` intentionally has more \"inverted\"\n look by essentially reversing background and foreground lightness.\n In this case, switching foreground and background attributes while\n adding `reverse` attribute should fix readability issue.\n\n Example:\n - Current:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#3c3836 guibg=#83a598 gui=bold\n - Adjusted:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#83a598 guibg=#3c3836 gui=bold,reverse\n\n This works because `kind_hlgroup` will first combine with switched\n `fg`/`bg` and only then reverse. It will result in colored background\n and readable text.\n\n This can be done in user config or (better) with PR to color scheme.\n\n- \"Text is not readable\" -> Adjust `PmenuKind` to have darker/lighter\n background or use the same \"switch fg/bg and reverse\" trick.\n\n- \"I don't want any highlighting but still want to use 'mini.icons'\" ->\n Adjust highlight group of all items in \"lsp\" category. For example:\n ```lua\n vim.api.nvim_set_hl(0, 'NoHL', {})\n local icons = require('mini.icons')\n local lsp_category = {}\n for _, name in ipairs(icons.list('lsp')) do\n lsp_category[name] = { hl = 'NoHL' }\n end\n icons.setup({ lsp = lsp_category })\n ```","shortMessageHtmlLink":"feat(completion): add LSP kind highlighting"}},{"before":"ef34f7bf03aaceb17e8b55370351647a924214a2","after":"57e47cf7a2923684e7413989ab267ed9730e7d03","ref":"refs/heads/backlog","pushedAt":"2024-08-29T11:33:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): add LSP kind highlighting\n\nRequires set up 'mini.icons' and Neovim>=0.11 (after introduction of\n`kind_hlgroup` field of completion item; check `:h complete-items`).\n\nThis is intentionally enabled by default (if 'mini.icons' is enabled)\nwithout new option to disable it (because it is not *really* needed).\nHere are suggested solutions to possible problems:\n\n- \"Text is not readable when selected\" -> Adjust `PmenuSel` (and maybe\n `PmenuKindSel`). Highlighting is done with 'mini.icons' highlight\n groups which are designed to have only foreground highlighted with\n color which has lightness similar to that of `Normal` foreground.\n\n It can so happen that `PmenuSel` intentionally has more \"inverted\"\n look by essentially reversing background and foreground lightness.\n In this case, switching foreground and background attributes while\n adding `reverse` attribute should fix readability issue.\n\n Example:\n - Current:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#3c3836 guibg=#83a598 gui=bold\n - Adjusted:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#83a598 guibg=#3c3836 gui=bold,reverse\n\n This works because `kind_hlgroup` will first combine with switched\n `fg`/`bg` and only then reverse. It will result in colored background\n and readable text.\n\n This can be done in user config or (better) with PR to color scheme.\n\n- \"Text is not readable\" -> Adjust `PmenuKind` to have darker/lighter\n background or use the same \"switch fg/bg and reverse\" trick.\n\n- \"I don't want any highlighting but still want to use 'mini.icons'\" ->\n Adjust highlight group of all items in \"lsp\" category. For example:\n ```lua\n vim.api.nvim_set_hl(0, 'NoHL', {})\n local icons = require('mini.icons')\n local lsp_category = {}\n for _, name in ipairs(icons.list('lsp')) do\n lsp_category[name] = { hl = 'NoHL' }\n end\n icons.setup({ lsp = lsp_category })\n ```","shortMessageHtmlLink":"feat(completion): add LSP kind highlighting"}},{"before":"b5ee41d2b8ab54f8b6b383b488e822c5cc431871","after":"ef34f7bf03aaceb17e8b55370351647a924214a2","ref":"refs/heads/backlog","pushedAt":"2024-08-28T14:54:32.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"echasnovski","name":"Evgeni Chasnovski","path":"/echasnovski","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24854248?s=80&v=4"},"commit":{"message":"feat(completion): add LSP kind highlighting\n\nRequires set up 'mini.icons' and Neovim>=0.11 (after introduction of\n`kind_hlgroup` field of completion item; check `:h complete-items`).\n\nThis is intentionally enabled by default (if 'mini.icons' is enabled)\nwithout new option to disable it (because it is not *really* needed).\nHere are suggested solutions to possible problems:\n\n- \"Text is not readable when selected\" -> Adjust `PmenuSel` (and maybe\n `PmenuKindSel`). Highlighting is done with 'mini.icons' highlight\n groups which are designed to have only foreground highlighted with\n color similar to lightness of `Normal` highlighting.\n\n It can so happen that `PmenuSel` intentionally has more \"inverted\"\n look by essentially reversing background and foreground lightness.\n In this case, switching foreground and background attributes while\n adding `reverse` attribute should fix readability issue.\n\n Example:\n - Current:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#3c3836 guibg=#83a598 gui=bold\n - Adjusted:\n hi Pmenu guifg=#ebdbb2 guibg=#3c3836 gui=NONE\n hi PmenuSel guifg=#83a598 guibg=#3c3836 gui=bold,reverse\n\n This works because `kind_hlgroup` will first combine with switched\n `fg`/`bg` and only then reverse. It will result with colored\n background and readable text.\n\n This can be done in user config or (better) with PR to color scheme.\n\n- \"Text is not readable\" -> Adjust `PmenuKind` to have darker/lighter\n background or use the same \"switch fg/bg and reverse\" trick.\n\n- \"I don't want any highlighting but still want to use 'mini.icons'\" ->\n Adjust highlight group of all items in \"lsp\" category. For example:\n ```lua\n vim.api.nvim_set_hl(0, 'NoHL', {})\n local icons = require('mini.icons')\n local lsp_category = {}\n for _, name in ipairs(icons.list('lsp')) do\n lsp_category[name] = { hl = 'NoHL' }\n end\n icons.setup({ lsp = lsp_category })\n ```","shortMessageHtmlLink":"feat(completion): add LSP kind highlighting"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEreN4VAA","startCursor":null,"endCursor":null}},"title":"Activity ยท echasnovski/mini.nvim"}