Skip to content

Commit a416b61

Browse files
Do not set default excluded buftypes, make it fully opt in
1 parent 48083f8 commit a416b61

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ require('render-markdown').setup({
162162
render_modes = { 'n', 'c' },
163163
exclude = {
164164
-- Buftypes ignored by this plugin, see :h 'buftype'
165-
buftypes = { 'nofile' },
165+
buftypes = {},
166166
},
167167
latex = {
168168
-- Whether LaTeX should be rendered, mainly used for health check

Diff for: doc/render-markdown.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Full Default Configuration ~
199199
render_modes = { 'n', 'c' },
200200
exclude = {
201201
-- Buftypes ignored by this plugin, see :h 'buftype'
202-
buftypes = { 'nofile' },
202+
buftypes = {},
203203
},
204204
latex = {
205205
-- Whether LaTeX should be rendered, mainly used for health check

Diff for: lua/render-markdown/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ M.default_config = {
156156
render_modes = { 'n', 'c' },
157157
exclude = {
158158
-- Buftypes ignored by this plugin, see :h 'buftype'
159-
buftypes = { 'nofile' },
159+
buftypes = {},
160160
},
161161
latex = {
162162
-- Whether LaTeX should be rendered, mainly used for health check

0 commit comments

Comments
 (0)