Skip to content

Commit ec21879

Browse files
chore: update changelog, remove log_level from state
1 parent 2b86631 commit ec21879

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Pre-release
44

5+
### Features
6+
7+
- logging improvements [2b86631](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/2b86631c153e24682a1a2d05e37a0f4f94e9b827)
8+
9+
### Bug Fixes
10+
11+
- indent with block widths [044f2d6](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/044f2d6d76712de69a79b25a7cd8311cb505a9f4)
12+
513
## 7.0.0 (2024-09-13)
614

715
### ⚠ BREAKING CHANGES

lua/render-markdown/manager.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ function M.setup()
3636
-- Write out any logs before closing
3737
vim.api.nvim_create_autocmd('VimLeave', {
3838
group = M.group,
39-
callback = function()
40-
require('render-markdown.log').flush()
41-
end,
39+
callback = log.flush,
4240
})
4341
end
4442

lua/render-markdown/state.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ local configs = {}
1010
---@class render.md.State
1111
---@field private config render.md.Config
1212
---@field enabled boolean
13-
---@field log_level render.md.config.LogLevel
1413
---@field file_types string[]
1514
---@field latex render.md.Latex
1615
---@field custom_handlers table<string, render.md.Handler>
@@ -36,7 +35,6 @@ function M.setup(default_config, user_config)
3635

3736
M.config = config
3837
M.enabled = config.enabled
39-
M.log_level = config.log_level
4038
M.file_types = config.file_types
4139
M.latex = config.latex
4240
M.custom_handlers = config.custom_handlers

0 commit comments

Comments
 (0)