summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-08-07 10:57:55 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-08-07 10:57:55 -0500
commitcd9890406b256f490a322eda4339c068840c9bd4 (patch)
tree88a7bace78db1f2d4d721e74ad59710f605ce343
parent5080d33d79570d9cb4758d2860c568db16e45229 (diff)
downloadnvim-cd9890406b256f490a322eda4339c068840c9bd4.tar.xz
nvim-cd9890406b256f490a322eda4339c068840c9bd4.zip
fix flickering issues with treesitterHEADmaster
-rw-r--r--lua/tjk/options.lua3
1 files changed, 3 insertions, 0 deletions
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