.config/nvim/lua/config/options.lua

changeset 1163
40367220022e
parent 1064
fcfa295076a8
child 1164
a8b6384c8738
--- a/.config/nvim/lua/config/options.lua
+++ b/.config/nvim/lua/config/options.lua
@@ -7,6 +7,7 @@ local o = vim.opt
 o.expandtab = true
 o.shiftround = true
 o.shiftwidth = 2
+o.formatexpr = "v:lua.require'conform'.formatexpr()"
 
 -- Display
 o.breakindent = true

mercurial