From 24b56290a25160752685818942e964cc5e832d65 Mon Sep 17 00:00:00 2001 From: Karel Kočí Date: Fri, 30 Jan 2026 13:51:23 +0100 Subject: nvim: disable table-mode syntax and update typst-preview The table_mode_syntax is making nvim for some reason really slow and thus this disables it. I am not using that anyway. This also updates to the newer version of typst-preview as the older version no longer works. --- config/nvim/init.vim | 3 +++ config/nvim/lua/plugins.lua | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 8ca2669..c269b77 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -99,6 +99,9 @@ nnoremap :Explore nnoremap l :bnext nnoremap h :bprev +" Table mode +let g:table_mode_syntax = 0 + " Format nmap f :lua require("conform").format() diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index a1c17bf..d1a4c55 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -127,9 +127,9 @@ require("packer").startup(function(use) -- Additional integrations ------------------------------------------------- use({ "chomosuke/typst-preview.nvim", - tag = "v0.1.*", - run = function() - require("typst-preview").update() + tag = "v1.*", + config = function() + require("typst-preview").setup({}) end, }) -- Movement, format and others --------------------------------------------- -- cgit v1.3