aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/lua/plugins/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vim/lua/plugins/init.lua')
-rw-r--r--vim/lua/plugins/init.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/vim/lua/plugins/init.lua b/vim/lua/plugins/init.lua
index 7cff057..373f4cc 100644
--- a/vim/lua/plugins/init.lua
+++ b/vim/lua/plugins/init.lua
@@ -191,8 +191,14 @@ return {
191 end, 191 end,
192 init = function() 192 init = function()
193 vim.g.mkdp_preview_options = { 193 vim.g.mkdp_preview_options = {
194 mkit = {}, 194 mkit = { breaks = true },
195 toc = {
196 containerClass = "toc",
197 format = "function format(x, htmlencode) { return `<span>${htmlencode(x)}</span>`; }",
198 callback = "console.log('foo')",
199 },
195 } 200 }
201 vim.cmd("let g:mkdp_browser = 'firefox'")
196 end, 202 end,
197 }, 203 },
198 204
@@ -283,6 +289,9 @@ return {
283 { 289 {
284 "tpope/vim-surround", 290 "tpope/vim-surround",
285 lazy = false, 291 lazy = false,
292 config = function()
293 vim.cmd("vmap s S")
294 end,
286 }, 295 },
287 296
288 { 297 {