Releases: MunifTanjim/nougat.nvim
Releases · MunifTanjim/nougat.nvim
v0.4.0
0.4.0 (2023-12-15)
⚠ BREAKING CHANGES
- item: deprecated config
.cache.invalidate
is removed, use.cache.clear
instead.
Features
- add entrypoint functions (50393ad)
- bar: add ctx.breakpoint (6e19fa4)
- cache: use clearable store for buffer cache (0807486)
- cache: use clearable store for diagnostic cache (56b8ff2)
- color: auto adjust with color scheme (e0e7808)
- item: remove deprecated config .cache.invalidate (ced08cd)
- item: remove duplicate refs inside item config (beeee91)
- nut: tweak buf.filestatus (1a8a6d6)
- store: introduce nougat store (3f23d3e)
- support winid for set_winbar (375c2fb)
- use clearable store for bars (2d992a7)
- util: do not add same callback twice for on_event (da79bae)
- util: use clearable store for on_event (a4276c2)
Bug Fixes
- bar: allow nested string[] for item w/ priority (7801e77)
- bar: check item.content type properly (c17e7b6)
- bar: missing slot.len for an edge case (d9129e1)
- bar: missing slot.len for another edge case (53f8fea)
- bar: priority item linking (cd34b41)
- cache: play nice with clearable store of on_event (7fa5660)
- color: flakiness (a555441)
- item: .cache.clear with single event (d833dd7)
- item: nested items priority evaluation (035dead)
- item: on_click for function content w/ parts (4da137d)
- nut: buf.diagnostic_count flicker (1f0f65a)
- nut: handle missing devicons for tab.tablist.icon (eebfb3d)
- nut: lsp.servers .config.sep position (1268060)
- profiler: missing item for dynamic children (e2ec089)
- separator: none separator handling (658dd2f)
Performance Improvements
- make hl name shorter (6ca3170)
v0.3.0
0.3.0 (2023-11-25)
Features
- bar: add ctx.hl for current item hl (8683545)
- bar: keep reused tables isolated per bar (5491005)
- bar: support hl config (1e94e75)
- cache: add buffer modifiable and readonly (b77be4e)
- cache: add method 'store:clear' (5897b9f)
- color: add color palette (d969995)
- item: accept item as .hidden (653686e)
- item: add config cache.name (f56a564)
- item: add item.ctx (c840e8c)
- item: add option 'cache.clear' (bc16788)
- item: support init callback (ba54ea2)
- nut: add lsp.servers (872166d)
- nut: use nougat.color (e901a39)
- profiler: measure item perf (7f7c5c0)
- update command :Nougat (06c370d)
- util: add module nougat.util.hl (7572323)
- utils: use weak table for object map (6f95a04)
Bug Fixes
- bar: allow items to use ctx.parts (b728db6)
- item: breakpoints for nested items (cddf0df)
- item: on_click for function content (b04e3d2)
- item: safely access field (667be3d)
- nut: wordcount .hidden.if_not_filetype (70b40c4)
- profiler: item scoping typo (8cb6aef)
- profiler: surface nested items (dca1504)
- util: consider .len for get_next_list_item (3287317)
- util: consider fallback separator highlight (cbf03e3)
- util: nested hl for priority items (0772682)
- util: parts slot hl mixup (9d56b21)
Performance Improvements
v0.2.0
0.2.0 (2023-11-19)
Features
- add on_event util (d407874)
- bar: add 'items:next' interface for iteration (a9fdb61)
- bar: support item priority (6362246)
- bar: update method add_item (a588772)
- cache: add .gitstatus to buffer cache (c2d10f2)
- cache: add buffer filename (3ab2c0a)
- cache: add more hooks (4902e96)
- cache: support tab cache (507dd2d)
- core: add nougat.core module (9291fac)
- item: add cache config (dba049f)
- item: support priority config (1b8ca44)
- nut: add .hidden.if_not_filetype for wordcount (2b310ab)
- nut: add .hidden.if_zero for diagnostic_count (e820de1)
- nut: add git.status (aab870c)
- nut: add truncation_point (8eb4d4b)
- nut: improve mode tracking (413bb1f)
- nut: remove fancy icon from tab.tablist.close (daf4f15)
- nut: tweak some tab.tablist stuffs (ea09613)
- nut: use cache config for caching (45cc6e6)
- separator: improve hl processing (3bf7f98)
- separator: make closest child hl automagic (8755374)
Bug Fixes
- cache: ignore diagnostic from invalid or scratch buffer (edb59df)
- item: .on_click with function .content (f31b5ec)
- nut: fix buf.filename cache invalidation (75ad4e9)
- nut: support priority in tab.tablist (660aaf4)
- nut: tab.tablist.label (ea3679c)
- nut: tab.tablist.label tabnr after tabmove (ad7a20f)
- nut: wordcount in visual mode (5818222)
Performance Improvements
v0.1.0
0.1.0 (2022-12-30)
Features
- add 'hidden' prop for item (09a6752)
- add command :Nougat (f3a88ad)
- bar: add helpers for statusline (e0a173d)
- bar: add helpers for tabline (82e270d)
- bar: add helpers for winbar (199423e)
- bar: improve method add_item (c922cda)
- bar: set local winbar by default (a8daf71)
- bar: store bars in separate module (a38493e)
- bar: update refresh_statusline default to focused only (4d8d150)
- bar: use ctx.hls, process highlights once at the end (01ad648)
- bar: use ctx.parts, allow items to add parts (d9e158a)
- cache: add buffer cache (e9e6d3b)
- cache: add diagnostic cache (739bb58)
- initial implementation (fac8f99)
- item: accept option .refresh (ec131c2)
- item: remove method item:generate (5c41f49)
- item: remove type=ruler (bbb49f5)
- item: remove type=spacer (f7e46b0)
- item: rename method refresh -> prepare (035370e)
- item: support nested items (103e100)
- item: support prefix/suffix function (9536f50)
- nut: accept on_click and context (654b9a4)
- nut: add buf.diagnostic_count (a8d2cd4)
- nut: add buf.fileencoding (8930674)
- nut: add buf.fileformat (9516912)
- nut: add buf.filename (58d85d1)
- nut: add buf.filestatus (0986a7e)
- nut: add buf.filetype (10d3084)
- nut: add buf.wordcount (eda5ea0)
- nut: add config.unnamed for buf.filename (a041836)
- nut: add default .hidden for diagnostic_count (dd3a89a)
- nut: add diagnostic_count for tablist (ad60e17)
- nut: add git.branch (0c433a3)
- nut: add mode (7939b40)
- nut: add opts.config.format for filename (c08e549)
- nut: add opts.hidden for mode (c680a0a)
- nut: add ruler (2d6b8cf)
- nut: add spacer (ffb456e)
- nut: add tab.tablist (979a2bd)
- nut: diagnostic hl for tab.tablist.label (e3d3d60)
- nut: make tab.tablist customizable and modular (053db48)
- nut: remove buf.wordcount default format config (6fa847c)
- nut: remove group from tab.tablist (e3fc8f4)
- nut: use shared buffer cache (5500b48)
- nut: use simple char for default tab.tablist.modified (cdac701)
- profiler: add bar.generator profiling (431d50b)
- profiler: add bench function (25a31fe)
- separator: add separator 'none' (1ca6a2c)
- separator: support closest child hl (0feb61c)
- separator: support hl function (dc9c2aa)
- support breakpoints (04a27c9)
- util: add .len to return value of prepare_parts (831b606)
- util: support content parts in prepare_parts (c38ee59)
Bug Fixes
- cache: deepcopy default_value before using (cd46b6f)
- util: guard against missing bg/fg (7337c6d)
- util: prefix discard index handling (784055b)
Performance Improvements
- nut: decrease string concat for tablist (71c096e)
- nut: decrease tab ctx nesting for tablist (21ab4a6)
- nut: decrease table creation for tab.tablist (7ddcf2f)
- replace slow vim.{b,bo,wo,go} with function calls (3d42eaa)
- util: use core.add_highlight instead of core.highlight (2ab5620)
- util: use local functions (8fb3bd4)
Continuous Integration
- introduce automated release (58229f1)