Enable modelines

This commit is contained in:
Alexander Rosenberg 2023-05-03 15:20:37 -07:00
parent ca21ebc84d
commit 6b53868291
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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