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) (set vim.opt.spelloptions :camel)
; Allow more freedom with the cursor ; Allow more freedom with the cursor
(set vim.opt.virtualedit :block) (set vim.opt.virtualedit :block)
; Disable modeline for security ; Enable modelines with modelineexpr off
(set vim.opt.modeline false) (set vim.opt.modeline true)
(set vim.opt.modelines 0) (set vim.opt.modelineexpr false)
; Auto chdir into files' dirs ; Auto chdir into files' dirs
;(set vim.opt.autochdir true) ;(set vim.opt.autochdir true)
; Enable substitute 'g' flag by default ; Enable substitute 'g' flag by default