From 6b538682917b51fdc615075fa7d385f0126a87a9 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 3 May 2023 15:20:37 -0700 Subject: [PATCH] Enable modelines --- init.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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