{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":498622732,"defaultBranch":"main","name":"nvim-ufo","ownerLogin":"kevinhwang91","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-06-01T06:48:45.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17562139?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1712135848.0","currentOid":""},"activityList":{"items":[{"before":"4b4077850d1b3af09f4957b67144943cf3da401a","after":"65dda6360879f6ffe0278163b9192a573a0d2a08","ref":"refs/heads/main","pushedAt":"2024-05-20T17:43:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): only compute folded pairs for current window (#223)","shortMessageHtmlLink":"fix(decorator): only compute folded pairs for current window (#223)"}},{"before":"a5390706f510d39951dd581f6d2a972741b3fa26","after":"4b4077850d1b3af09f4957b67144943cf3da401a","ref":"refs/heads/main","pushedAt":"2024-05-17T05:39:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"feat: support new api vim.lsp.get_clients (#222)","shortMessageHtmlLink":"feat: support new api vim.lsp.get_clients (#222)"}},{"before":"de20b4fff7813c2f170a7314d8311dfe63bc1b22","after":"a5390706f510d39951dd581f6d2a972741b3fa26","ref":"refs/heads/main","pushedAt":"2024-04-03T09:19:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"docs: update CHANGELOG","shortMessageHtmlLink":"docs: update CHANGELOG"}},{"before":"49acf0010ccc08d727582da8cbf5e4c3f3b0cc53","after":"de20b4fff7813c2f170a7314d8311dfe63bc1b22","ref":"refs/heads/main","pushedAt":"2024-04-03T09:17:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"docs: update CHANGELOG","shortMessageHtmlLink":"docs: update CHANGELOG"}},{"before":"458aa4451b98614cfab6b3d7beddc8caff5e3052","after":"49acf0010ccc08d727582da8cbf5e4c3f3b0cc53","ref":"refs/heads/main","pushedAt":"2024-04-02T15:39:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"feat: luarocks support (#211)","shortMessageHtmlLink":"feat: luarocks support (#211)"}},{"before":"c1e8102e4e954e1c46f46cda2587769238e24f16","after":"458aa4451b98614cfab6b3d7beddc8caff5e3052","ref":"refs/heads/main","pushedAt":"2024-03-23T04:47:58.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"feat(decorator): export fold kind in `fold_virt_text_handler` (#207)","shortMessageHtmlLink":"feat(decorator): export fold kind in fold_virt_text_handler (#207)"}},{"before":"dd83ca6f8f765b1ca59346ff4fcb5177c78d44b6","after":"c1e8102e4e954e1c46f46cda2587769238e24f16","ref":"refs/heads/main","pushedAt":"2024-03-19T15:53:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"refactor(treesitter): remove nvim-treesitter dependencies (#189)\n\nReplace all the use of nvim-treesitter APIs with core vim.treesitter\r\nAPIs. No more nvim-treesitter dependency, just core neovim is enough.\r\n\r\nThis fix makes ufo work without the nvim-treesitter plugin as an\r\nadditional dependency. In fact, nvim-treesitter v1.0 deprecates and\r\nremoves some APIs that have been migrated to the core neovim APIs\r\n`vim.treesitter`, which makes ufo's previous treesitter provider\r\nimplementation incompatible.\r\n\r\nNote that this commit does not change the minimum neovim version\r\nrequirement, should work fine with neovim 0.7.x.\r\n\r\nImplementation note:\r\n\r\nThere are four APIs that need to be migrated:\r\n\r\n- `nvim-treesitter.parsers.get_parser()`: The difference to the core API\r\n `vim.treesitter.get_parser()` is whether to throw errors when a parser\r\n is not available (`has_parser`). We simply mimic the previous behavior\r\n by catching errors.\r\n\r\n- `nvim-treesitter.query.get_query()`: The difference to core API\r\n `vim.treesitter.query.get()` is whether the query file is cached or\r\n not. This may have a small performance impact; in neovim 0.10.x, this\r\n function is memoized and thus very fast, but in neovim <= 0.9.x it\r\n might be slightly slow due to the lack of cache.\r\n\r\n Note: One can consider as well automatically falling back to the old\r\n nvim-treesitter (v0.9.x) if available, for neovim < 0.10.\r\n\r\n- `nvim-treesitter.query.has_folds()` (i.e., `has_query_files()`):\r\n can be easily replaced with `vim.treesitter.query.get_files`. Also\r\n there might be a subtle performance difference of whether cache is\r\n being used (in the old nvim-treesitter implementations) or not.\r\n\r\n- `nvim-treesitter.tsrange`: The `TSRange` API has gone. Note that this\r\n is used only to implement the `#make-range!` directive; it suffices to\r\n have `node:range()` only for where it's used. Therefore,\r\n `TSRange.from_nodes()` is the only API we'll need, which can be easily\r\n backported into the existing `MetaNode` implementation.","shortMessageHtmlLink":"refactor(treesitter): remove nvim-treesitter dependencies (#189)"}},{"before":"2296dbb8939c4050c222f4eb24889540ef8acd76","after":"dd83ca6f8f765b1ca59346ff4fcb5177c78d44b6","ref":"refs/heads/main","pushedAt":"2024-03-19T15:47:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): correct capture condition","shortMessageHtmlLink":"fix(decorator): correct capture condition"}},{"before":"7b14dd650b57291a49f037f1ede325d46e08b258","after":"2296dbb8939c4050c222f4eb24889540ef8acd76","ref":"refs/heads/main","pushedAt":"2024-03-16T04:06:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): keep silent for `Keyboard interrupt` error (#202)","shortMessageHtmlLink":"fix(decorator): keep silent for Keyboard interrupt error (#202)"}},{"before":"e29dbf5b2d76ea43f4e585e3deeb6510488eee3f","after":"7b14dd650b57291a49f037f1ede325d46e08b258","ref":"refs/heads/main","pushedAt":"2024-03-14T12:18:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"feat(config)!: use `close_fold_kinds_for_ft` instead `close_fold_kinds`","shortMessageHtmlLink":"feat(config)!: use close_fold_kinds_for_ft instead close_fold_kinds"}},{"before":"239ae620d818ffa1319ca3056546df71906d4bfb","after":"e29dbf5b2d76ea43f4e585e3deeb6510488eee3f","ref":"refs/heads/main","pushedAt":"2024-03-13T10:59:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(wffi): `changed_window_setting` signature changed","shortMessageHtmlLink":"fix(wffi): changed_window_setting signature changed"}},{"before":"77e13c67f6597330d68ff82c5818934746d79086","after":"239ae620d818ffa1319ca3056546df71906d4bfb","ref":"refs/heads/main","pushedAt":"2024-02-27T13:15:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"Revert \"fix(treesitter): should convert obj to string before matching (#203)\"\n\nThis reverts commit 77e13c67f6597330d68ff82c5818934746d79086.","shortMessageHtmlLink":"Revert \"fix(treesitter): should convert obj to string before matching ("}},{"before":"553d8a9c611caa9f020556d4a26b760698e5b81b","after":"77e13c67f6597330d68ff82c5818934746d79086","ref":"refs/heads/main","pushedAt":"2024-02-27T12:13:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(treesitter): should convert obj to string before matching (#203)","shortMessageHtmlLink":"fix(treesitter): should convert obj to string before matching (#203)"}},{"before":"b0741a647efd98d9abb6cb653e056d24a07e4581","after":"553d8a9c611caa9f020556d4a26b760698e5b81b","ref":"refs/heads/main","pushedAt":"2024-02-16T12:00:51.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(preview): nightly change `nvim_win_get_config` return val","shortMessageHtmlLink":"fix(preview): nightly change nvim_win_get_config return val"}},{"before":"abdc3a5a1b8054195a10b9ce5f85a43134a607b9","after":"b0741a647efd98d9abb6cb653e056d24a07e4581","ref":"refs/heads/main","pushedAt":"2024-01-13T15:19:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(window): upstream bug, `set winhl` change curswant (#194)","shortMessageHtmlLink":"fix(window): upstream bug, set winhl change curswant (#194)"}},{"before":"35089d4bf300943f1ab04c631d9b8a44ebbfc174","after":"abdc3a5a1b8054195a10b9ce5f85a43134a607b9","ref":"refs/heads/main","pushedAt":"2024-01-13T08:21:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(fold): don't make scan flag if manual invoke (#192)","shortMessageHtmlLink":"fix(fold): don't make scan flag if manual invoke (#192)"}},{"before":"c6d88523f574024b788f1c3400c5d5b9bb1a0407","after":"35089d4bf300943f1ab04c631d9b8a44ebbfc174","ref":"refs/heads/main","pushedAt":"2024-01-10T17:31:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(model): use private field to avoid inherit (#186)","shortMessageHtmlLink":"fix(model): use private field to avoid inherit (#186)"}},{"before":"a15944ff8e3d570f504f743d55209275ed1169c4","after":"c6d88523f574024b788f1c3400c5d5b9bb1a0407","ref":"refs/heads/main","pushedAt":"2023-12-25T05:39:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(treesitter): fix errors when getting hlId on nvim 0.10.x (#188)\n\nSince neovim 0.10.x 2498747a (2023/12/20), `hl_cache` (which is private)\r\nis no longer made of a metatable. This results in following errors:\r\n\r\n```\r\nE5108: Error executing lua: table index is nil\r\nstack traceback:\r\n [C]: in function 'rawset'\r\n .../nvim-ufo/lua/ufo/highlight.lua:31: in function '__index'\r\n .../nvim-ufo/lua/ufo/render/treesitter.lua:54: in function 'fn'\r\n $VIMRUNTIME/lua/vim/treesitter/languagetree.lua:489: in function 'for_each_tree'\r\n $VIMRUNTIME/lua/vim/treesitter/languagetree.lua:493: in function 'for_each_tree'\r\n .../nvim-ufo/lua/ufo/render/treesitter.lua:19: in function 'getHighlightsByRange'\r\n .../nvim-ufo/lua/ufo/render/init.lua:132: in function 'mapHighlightLimitByRange'\r\n .../nvim-ufo/lua/ufo/preview/init.lua:291: in function 'peekFoldedLinesUnderCursor'\r\n```\r\n\r\nA temporary fix is to use `query:get_hl_from_capture()`, which is also\r\nan private API, but this prevents the error on nvim nightly.","shortMessageHtmlLink":"fix(treesitter): fix errors when getting hlId on nvim 0.10.x (#188)"}},{"before":"107fdbcba73fc9c2e5be118a207efebd84edb3bd","after":"a15944ff8e3d570f504f743d55209275ed1169c4","ref":"refs/heads/main","pushedAt":"2023-12-17T17:49:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): narrow the fold range for stale","shortMessageHtmlLink":"fix(decorator): narrow the fold range for stale"}},{"before":"979a87a03dab1f90ff9dec86ac6b454c687ffd05","after":"107fdbcba73fc9c2e5be118a207efebd84edb3bd","ref":"refs/heads/main","pushedAt":"2023-12-16T13:05:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(foldedline): clear virt text","shortMessageHtmlLink":"fix(foldedline): clear virt text"}},{"before":"f355bd0cc3c93239f295ea82861e6a8b04723f53","after":"979a87a03dab1f90ff9dec86ac6b454c687ffd05","ref":"refs/heads/main","pushedAt":"2023-12-16T12:34:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): erase extmark even in multiple windows","shortMessageHtmlLink":"fix(decorator): erase extmark even in multiple windows"}},{"before":"9fa77fb7e4365a053a5303b773aaf5eaf806d1f4","after":"f355bd0cc3c93239f295ea82861e6a8b04723f53","ref":"refs/heads/main","pushedAt":"2023-12-16T12:25:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): highlight open fold for multiple windows correctly (#187)","shortMessageHtmlLink":"fix(decorator): highlight open fold for multiple windows correctly (#187"}},{"before":"47a2f8d4da670db6e01a7373cdf97249e332d6d4","after":"9fa77fb7e4365a053a5303b773aaf5eaf806d1f4","ref":"refs/heads/main","pushedAt":"2023-12-02T17:57:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(fold): use `ModeChanged` to update pending fold\n\nBack to normal mode from visual mode couldn't handle pending fold ranges before.","shortMessageHtmlLink":"fix(fold): use ModeChanged to update pending fold"}},{"before":"c1e75fb93a5413c73221e23d549cc9f208d592fb","after":"47a2f8d4da670db6e01a7373cdf97249e332d6d4","ref":"refs/heads/main","pushedAt":"2023-12-01T19:11:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(action): check endLnum to avoid infinite loop (#184)","shortMessageHtmlLink":"fix(action): check endLnum to avoid infinite loop (#184)"}},{"before":"c35c447ae65e2879b10d2429489088509d75c329","after":"c1e75fb93a5413c73221e23d549cc9f208d592fb","ref":"refs/heads/main","pushedAt":"2023-11-28T10:12:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(render): replace `Normal` highlight with `UfoFoldedFg`\n\nInlay with `Normal` highlight look ugly.","shortMessageHtmlLink":"fix(render): replace Normal highlight with UfoFoldedFg"}},{"before":"ad8d336cdde8f1f925bd4eaf8a00b67885deb25e","after":"c35c447ae65e2879b10d2429489088509d75c329","ref":"refs/heads/main","pushedAt":"2023-11-26T14:36:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(window): don't clear winhl during first render (#183)","shortMessageHtmlLink":"fix(window): don't clear winhl during first render (#183)"}},{"before":"1c3eb7e3980246c432a037acbead2f0b0f0e2fa5","after":"ad8d336cdde8f1f925bd4eaf8a00b67885deb25e","ref":"refs/heads/main","pushedAt":"2023-11-23T18:15:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"chore!: bump Neovim to 0.7.2","shortMessageHtmlLink":"chore!: bump Neovim to 0.7.2"}},{"before":"e10970ef4648a783623827a274b6c26b6265951c","after":"1c3eb7e3980246c432a037acbead2f0b0f0e2fa5","ref":"refs/heads/main","pushedAt":"2023-11-23T18:09:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(decorator): correct bufnrSet logic","shortMessageHtmlLink":"fix(decorator): correct bufnrSet logic"}},{"before":"a6132d058f23d15686f07b8e1ca252e060a0e0ce","after":"e10970ef4648a783623827a274b6c26b6265951c","ref":"refs/heads/main","pushedAt":"2023-11-23T03:48:36.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(fold): scan win folds if one buffer in multiple window","shortMessageHtmlLink":"fix(fold): scan win folds if one buffer in multiple window"}},{"before":"b687962b6fee4eba2caba57a7078037fc27438fd","after":"a6132d058f23d15686f07b8e1ca252e060a0e0ce","ref":"refs/heads/main","pushedAt":"2023-11-15T02:49:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kevinhwang91","name":"Kevin Hwang","path":"/kevinhwang91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17562139?s=80&v=4"},"commit":{"message":"fix(render): fix inlay extmark reverse sort\n\n```lua\nlocal t = {1, 2, 3, 4}\ntable.sort(t, function(a, b)\n local ret = a >= b\n -- local ret = a > b\n print('array:', table.concat(t, ', '))\n print('a:', a, ', b:', b, ', ret:', ret)\n return ret\nend)\nprint('--- After sort ---')\nfor _, v in ipairs(t) do\n print(v)\nend\n```\n\n`table.sort` only handle less than or greater than, but didn't handle equal.","shortMessageHtmlLink":"fix(render): fix inlay extmark reverse sort"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAETwvoEAA","startCursor":null,"endCursor":null}},"title":"Activity · kevinhwang91/nvim-ufo"}