MunifTanjim/nougat.nvim
🍫 Hyperextensible Statusline / Tabline / Winbar for Neovim 🚀
4 Releases
Latest: 2y ago
v0.4.00.4.0Latest
💥 ⚠ BREAKING CHANGES
- item: deprecated config `.cache.invalidate` is removed, use `.cache.clear` instead.
✨ Features
- add entrypoint functions ([50393ad](https://github.com/MunifTanjim/nougat.nvim/commit/50393adfe375daef1f9891236fff24ca2d739471))
- bar: add ctx.breakpoint ([6e19fa4](https://github.com/MunifTanjim/nougat.nvim/commit/6e19fa495277bc5c8df54274f9f2e60b62d2b9cb))
- cache: use clearable store for buffer cache ([0807486](https://github.com/MunifTanjim/nougat.nvim/commit/0807486bd9a4ef0bfc7e8a5f84b2ad9d5b5725e0))
- cache: use clearable store for diagnostic cache ([56b8ff2](https://github.com/MunifTanjim/nougat.nvim/commit/56b8ff2d9ff278b3cd2f8aeb4d449d5e23736585))
- color: auto adjust with color scheme ([e0e7808](https://github.com/MunifTanjim/nougat.nvim/commit/e0e78084b8c88e9e733ac4e2e5cf391545c33909))
- item: remove deprecated config .cache.invalidate ([ced08cd](https://github.com/MunifTanjim/nougat.nvim/commit/ced08cd3c9cbd3701464d5c4aca9323f37869a6a))
- item: remove duplicate refs inside item config ([beeee91](https://github.com/MunifTanjim/nougat.nvim/commit/beeee91291ccf3e406de27ae24adacffe16d1aa8))
- nut: tweak buf.filestatus ([1a8a6d6](https://github.com/MunifTanjim/nougat.nvim/commit/1a8a6d66d2589d3adaf299b8e458449d9b1429d0))
- + 5 more
🐛 Bug Fixes
- bar: allow nested string[] for item w/ priority ([7801e77](https://github.com/MunifTanjim/nougat.nvim/commit/7801e77938850073c081874fd0567e8ae0dc31e1))
- bar: check item.content type properly ([c17e7b6](https://github.com/MunifTanjim/nougat.nvim/commit/c17e7b6ba2cd61ae1dd0447e4f022d6c57508a20))
- bar: missing slot.len for an edge case ([d9129e1](https://github.com/MunifTanjim/nougat.nvim/commit/d9129e1bd81f8f939700cb9e7fd76da6de9e693c))
- bar: missing slot.len for another edge case ([53f8fea](https://github.com/MunifTanjim/nougat.nvim/commit/53f8fea17cff165f91c32de8d083fce07652de8f))
- bar: priority item linking ([cd34b41](https://github.com/MunifTanjim/nougat.nvim/commit/cd34b41152cfbd59cf7faf2b523841db944098bb))
- cache: play nice with clearable store of on_event ([7fa5660](https://github.com/MunifTanjim/nougat.nvim/commit/7fa5660abb52216b5c49ee0f7743cec9564b5ee5))
- color: flakiness ([a555441](https://github.com/MunifTanjim/nougat.nvim/commit/a55544170b0faa92ae04cb9050817bda56896ccd))
- item: .cache.clear with single event ([d833dd7](https://github.com/MunifTanjim/nougat.nvim/commit/d833dd72dfbd092b4bff8562926bd0453b426ebd))
- + 7 more
⚡ Performance Improvements
- make hl name shorter ([6ca3170](https://github.com/MunifTanjim/nougat.nvim/commit/6ca31705277db02aa19574a38365dc8781436872))
v0.3.00.3.0
✨ Features
- bar: add ctx.hl for current item hl ([8683545](https://github.com/MunifTanjim/nougat.nvim/commit/86835454b6212a6aaa4780d3882aaeca6612bc54))
- bar: keep reused tables isolated per bar ([5491005](https://github.com/MunifTanjim/nougat.nvim/commit/54910058fc90d86707b3b3c862bba936358782eb))
- bar: support hl config ([1e94e75](https://github.com/MunifTanjim/nougat.nvim/commit/1e94e75cbe6498101df2638c006ac992b046bdf7))
- cache: add buffer modifiable and readonly ([b77be4e](https://github.com/MunifTanjim/nougat.nvim/commit/b77be4e865b518020ac9cd10f0ce490a2ecfc2d8))
- cache: add method 'store:clear' ([5897b9f](https://github.com/MunifTanjim/nougat.nvim/commit/5897b9fe70ca4390ad3cd3e12418829c64c3d44e))
- color: add color palette ([d969995](https://github.com/MunifTanjim/nougat.nvim/commit/d9699952b65dd998b14feea6db46a3cbb3d59631))
- item: accept item as .hidden ([653686e](https://github.com/MunifTanjim/nougat.nvim/commit/653686e254bdd73e30c4a39d0a879be89f5f2a38))
- item: add config cache.name ([f56a564](https://github.com/MunifTanjim/nougat.nvim/commit/f56a564405dbc45c1aa48d2c4c97ce2137c13530))
- + 9 more
🐛 Bug Fixes
- bar: allow items to use ctx.parts ([b728db6](https://github.com/MunifTanjim/nougat.nvim/commit/b728db61edbead5ec5bae84128c679929f453d98))
- item: breakpoints for nested items ([cddf0df](https://github.com/MunifTanjim/nougat.nvim/commit/cddf0df402c167090b99ffd49fd544238022a967))
- item: on_click for function content ([b04e3d2](https://github.com/MunifTanjim/nougat.nvim/commit/b04e3d25a59c0e4e92c6b7b342fbed9f01dda8f4))
- item: safely access field ([667be3d](https://github.com/MunifTanjim/nougat.nvim/commit/667be3df84fc097e27c196d5ce894840e3a3ed21))
- nut: wordcount .hidden.if_not_filetype ([70b40c4](https://github.com/MunifTanjim/nougat.nvim/commit/70b40c401a433932e7c720aee3b5903b8a6bbfb4))
- profiler: item scoping typo ([8cb6aef](https://github.com/MunifTanjim/nougat.nvim/commit/8cb6aefde61c48b9f900f3dc6d233b3507b1a0bb))
- profiler: surface nested items ([dca1504](https://github.com/MunifTanjim/nougat.nvim/commit/dca150442a0699578623ffa9a255c84f3d43b6ff))
- util: consider .len for get_next_list_item ([3287317](https://github.com/MunifTanjim/nougat.nvim/commit/328731789b46b7199a8f6c88de8316b746d522d3))
- + 3 more
⚡ Performance Improvements
- nut: tweak cache for buf.filestatus ([994de44](https://github.com/MunifTanjim/nougat.nvim/commit/994de44a642f474d0ed15ce3b303373e32b0778c))
- nut: tweak cache for tab.tablist.icon ([2da5dca](https://github.com/MunifTanjim/nougat.nvim/commit/2da5dca75b7b9cbfcd146dbb55ada04f6c21a417))
v0.2.00.2.0
✨ Features
- add on_event util ([d407874](https://github.com/MunifTanjim/nougat.nvim/commit/d407874a163b11f8b1414635ae7db4696c6e3a0e))
- bar: add 'items:next' interface for iteration ([a9fdb61](https://github.com/MunifTanjim/nougat.nvim/commit/a9fdb6107a92e36a4c76b50c8967001097deb29e))
- bar: support item priority ([6362246](https://github.com/MunifTanjim/nougat.nvim/commit/63622465301d14c3af301e3ead98ae21d46d577a))
- bar: update method add_item ([a588772](https://github.com/MunifTanjim/nougat.nvim/commit/a588772576829e40da5edc76623e62b914f9b8d9))
- cache: add .gitstatus to buffer cache ([c2d10f2](https://github.com/MunifTanjim/nougat.nvim/commit/c2d10f2259b5a00737338def3ab443440055ddd4))
- cache: add buffer filename ([3ab2c0a](https://github.com/MunifTanjim/nougat.nvim/commit/3ab2c0a8b7d233b4d80adc89e86423bae1f0cf12))
- cache: add more hooks ([4902e96](https://github.com/MunifTanjim/nougat.nvim/commit/4902e967cdf4b6328364f649497def85a91208b2))
- cache: support tab cache ([507dd2d](https://github.com/MunifTanjim/nougat.nvim/commit/507dd2deaaceaea223f9f107268512902feb274f))
- + 13 more
🐛 Bug Fixes
- cache: ignore diagnostic from invalid or scratch buffer ([edb59df](https://github.com/MunifTanjim/nougat.nvim/commit/edb59df603352b08796e58fb06cc0498033082ea))
- item: .on_click with function .content ([f31b5ec](https://github.com/MunifTanjim/nougat.nvim/commit/f31b5ecc426c9840930526b5fa12832ed8738a87))
- nut: fix buf.filename cache invalidation ([75ad4e9](https://github.com/MunifTanjim/nougat.nvim/commit/75ad4e98a9275a595d1136fa1b19a39ab2e235fd))
- nut: support priority in tab.tablist ([660aaf4](https://github.com/MunifTanjim/nougat.nvim/commit/660aaf4af2deeb69c18917fb88852d75d9810335))
- nut: tab.tablist.label ([ea3679c](https://github.com/MunifTanjim/nougat.nvim/commit/ea3679cf201b107e740b220f35497ec11001311a))
- nut: tab.tablist.label tabnr after tabmove ([ad7a20f](https://github.com/MunifTanjim/nougat.nvim/commit/ad7a20fd42ea1a3e16c96425c4089cbf73231af3))
- nut: wordcount in visual mode ([5818222](https://github.com/MunifTanjim/nougat.nvim/commit/58182225e56855e98d635027fb4560e825e3ef86))
⚡ Performance Improvements
- cache: read filetype from autocmd params ([4a076aa](https://github.com/MunifTanjim/nougat.nvim/commit/4a076aa89ab3a23b9a37f222737d40db918b423b))
- core: reuse parts tables ([b2128a2](https://github.com/MunifTanjim/nougat.nvim/commit/b2128a2b1abba1c24cddad8b731889d763228c0e))
v0.1.00.1.0
✨ Features
- add 'hidden' prop for item ([09a6752](https://github.com/MunifTanjim/nougat.nvim/commit/09a67529ecadd362e341a5ca297546633ba5362c))
- add command :Nougat ([f3a88ad](https://github.com/MunifTanjim/nougat.nvim/commit/f3a88adf90e6a4c77d676d6aca2e348e58ad7948))
- bar: add helpers for statusline ([e0a173d](https://github.com/MunifTanjim/nougat.nvim/commit/e0a173d80aeb21a8f159e11cb5310e7a6a103c74))
- bar: add helpers for tabline ([82e270d](https://github.com/MunifTanjim/nougat.nvim/commit/82e270d91b04afb26bba602265ed8763765783c2))
- bar: add helpers for winbar ([199423e](https://github.com/MunifTanjim/nougat.nvim/commit/199423ea7a0eed0a219b2cf7ad1040d7e5de6bb4))
- bar: improve method add_item ([c922cda](https://github.com/MunifTanjim/nougat.nvim/commit/c922cdaa47b7e595bcd86c946c9999608749e3a5))
- bar: set local winbar by default ([a8daf71](https://github.com/MunifTanjim/nougat.nvim/commit/a8daf71631eb18f9bacae099eb7ec4488bd71aa6))
- bar: store bars in separate module ([a38493e](https://github.com/MunifTanjim/nougat.nvim/commit/a38493efbefca8d4e2d13f51633c1e8171056116))
- + 45 more
🐛 Bug Fixes
- cache: deepcopy default_value before using ([cd46b6f](https://github.com/MunifTanjim/nougat.nvim/commit/cd46b6ff4d07b17e2f83628305681833f3136158))
- util: guard against missing bg/fg ([7337c6d](https://github.com/MunifTanjim/nougat.nvim/commit/7337c6d91c1d21933a8c13de626a71954300ddae))
- util: prefix discard index handling ([784055b](https://github.com/MunifTanjim/nougat.nvim/commit/784055b85fb65206237b509fce5decbdb1dbc501))
⚡ Performance Improvements
- nut: decrease string concat for tablist ([71c096e](https://github.com/MunifTanjim/nougat.nvim/commit/71c096ebbffa463e0c82db06862807f7cf1c08e6))
- nut: decrease tab ctx nesting for tablist ([21ab4a6](https://github.com/MunifTanjim/nougat.nvim/commit/21ab4a698e29076a3c537b2b6651c50b8db79d27))
- nut: decrease table creation for tab.tablist ([7ddcf2f](https://github.com/MunifTanjim/nougat.nvim/commit/7ddcf2f4e2871352fac29587204840b5aad97d0f))
- replace slow vim.{b,bo,wo,go} with function calls ([3d42eaa](https://github.com/MunifTanjim/nougat.nvim/commit/3d42eaa5faea29d55db81f15e909e401057798b7))
- util: use core.add_highlight instead of core.highlight ([2ab5620](https://github.com/MunifTanjim/nougat.nvim/commit/2ab562060facbfe048f2766571d5b7b44444e287))
- util: use local functions ([8fb3bd4](https://github.com/MunifTanjim/nougat.nvim/commit/8fb3bd44923886c97d4b090ea1af211b045dd8fd))
📦 Continuous Integration
- introduce automated release ([58229f1](https://github.com/MunifTanjim/nougat.nvim/commit/58229f19d6f877ff1c855ae944f7161ea12b8b94))
