diff --git a/init.fnl b/init.fnl index c368605..c8e45f8 100644 --- a/init.fnl +++ b/init.fnl @@ -53,9 +53,9 @@ (set vim.opt.spelloptions :camel) ; Allow more freedom with the cursor (set vim.opt.virtualedit :block) -; Disable modeline for security -(set vim.opt.modeline false) -(set vim.opt.modelines 0) +; Enable modelines with modelineexpr off +(set vim.opt.modeline true) +(set vim.opt.modelineexpr false) ; Auto chdir into files' dirs ;(set vim.opt.autochdir true) ; Enable substitute 'g' flag by default