From 4b066534d47ed7fd60aa27979886dac768768fbc Mon Sep 17 00:00:00 2001 From: Jannik Donker Date: Tue, 4 Aug 2026 20:14:42 +0200 Subject: [PATCH] removed mdmath + added build vor blink.cmp --- lua/plugins.lua | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index af852bb..9464710 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -31,7 +31,6 @@ vim.pack.add({ { src = "https://github.com/jay-babu/mason-nvim-dap.nvim" }, { src = "https://github.com/michaelrommel/nvim-silicon" }, { src = "https://github.com/hat0uma/csvview.nvim.git" }, - { src = "https://github.com/Thiago4532/mdmath.nvim" }, { src = "https://github.com/folke/snacks.nvim" }, }) @@ -57,6 +56,7 @@ require("mini.jump2d").setup({ }) local cmp = require('blink.cmp') +cmp.build():pwait() cmp.setup({ keymap = { preset = "super-tab" } @@ -85,14 +85,9 @@ require("conform").setup({ }) require("render-markdown").setup({ - latex = { enabled = false }, -- mdmath.nvim renders math as images code = { inline_pad = 0, highlight_inline = "RenderMarkdownCode" }, }) -require("mdmath").setup({ - dynamic_scale = 0.5, -}) - require("snacks").setup({ image = { enabled = true, @@ -110,15 +105,6 @@ vim.keymap.set({ "n", "t" }, "t", end, { desc = "Toggle terminal" }) --- Rebuild mdmath JS deps on plugin update -vim.api.nvim_create_autocmd("PackChanged", { - callback = function(ev) - if ev.data.spec.name == "mdmath.nvim" and ev.data.kind == "update" then - vim.system({ "npm", "install" }, { cwd = ev.data.path .. "/mdmath-js" }) - end - end, -}) - vim.api.nvim_create_autocmd("FileType", { pattern = "markdown", callback = function(ev)