Skip to content

Commit 15d8e02

Browse files
fix: Error in user command following profiler removal
## Details Removed the profiler but did not remove all references to it, woops.
1 parent 9a8a2e5 commit 15d8e02

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
- In order to fix:
1414
- Implement `parse` method instead of `render`, no direct translation
1515
- `profile` field was only meant for development, should not have any users
16+
- Updated buftype options, in order to fix:
17+
- `exclude.buftypes.<v>` -> `overrides.buftype.<v>.enabled = false`
18+
- `sign.exclude.buftypes.<v>` -> `overrides.buftype.<v>.sign.enabled = false`
19+
20+
### Features
21+
22+
- Support full buftype options [9a8a2e5](https://github.com/MeanderingProgrammer/markdown.nvim/commit/9a8a2e5bd204931646f1559235c7c4a7680ecbcd)
1623

1724
### Bug Fixes
1825

lua/render-markdown/api.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
local manager = require('render-markdown.manager')
2-
local profiler = require('render-markdown.profiler')
32
local state = require('render-markdown.state')
43

54
---@class render.md.Api
@@ -17,8 +16,4 @@ function M.toggle()
1716
manager.set_all(not state.enabled)
1817
end
1918

20-
function M.stats()
21-
profiler.dump_stats()
22-
end
23-
2419
return M

0 commit comments

Comments
 (0)