diff --git a/init.fnl b/init.fnl index f84b42b..c368605 100644 --- a/init.fnl +++ b/init.fnl @@ -60,6 +60,8 @@ ;(set vim.opt.autochdir true) ; Enable substitute 'g' flag by default (set vim.opt.gdefault true) +(let [ver (vim.version)] + (set vim.opt.exrc (or (> ver.major 0) (>= ver.minor 9)))) ;; Remove trailing whitespace (fn remove-trailing-whitespace []