increase formatexpr timeout

Wed, 15 May 2024 14:24:02 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 15 May 2024 14:24:02 -0500
changeset 1164
a8b6384c8738
parent 1163
40367220022e
child 1165
840f0fde07e2

increase formatexpr timeout

.config/nvim/lua/config/options.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/config/options.lua
+++ b/.config/nvim/lua/config/options.lua
@@ -7,7 +7,7 @@ local o = vim.opt
 o.expandtab = true
 o.shiftround = true
 o.shiftwidth = 2
-o.formatexpr = "v:lua.require'conform'.formatexpr()"
+o.formatexpr = "v:lua.require'conform'.formatexpr({'timeout_ms':4000})"
 
 -- Display
 o.breakindent = true

mercurial