From cd9890406b256f490a322eda4339c068840c9bd4 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 7 Aug 2025 10:57:55 -0500 Subject: fix flickering issues with treesitter --- lua/tjk/options.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua') diff --git a/lua/tjk/options.lua b/lua/tjk/options.lua index 210c45f..3b52283 100644 --- a/lua/tjk/options.lua +++ b/lua/tjk/options.lua @@ -11,6 +11,9 @@ opt.cursorline = true -- highlight current line opt.title = true -- set window title of the terminal emulator to current nvim buffer vim.cmd.aunmenu "PopUp" -- disable right click menu +-- TODO remove this when issue #32660 is fixed by #33145 +vim.g._ts_force_sync_parsing = true + -- line numbers opt.number = true -- enable line numbers opt.relativenumber = true -- enable relative line numbers -- cgit v1.2.3