Some random changes

This commit is contained in:
Alexander Rosenberg 2022-12-08 13:22:40 -08:00
parent c39aa3ddfd
commit 3dfaa747ca
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -52,6 +52,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
(set vim.opt.modeline false)
(set vim.opt.modelines 0)
;; Remove trailing whitespace ;; Remove trailing whitespace
(fn remove-trailing-whitespace [] (fn remove-trailing-whitespace []
@ -92,4 +95,8 @@
"h" :c "h" :c
"ui" :xml }}) "ui" :xml }})
;; Better fennel formatting
(hook! :FileType [ :fennel ]
#(set vim.opt_local.equalprg "fnlfmt -"))
(module-call! :packer :startup (require :plugin)) (module-call! :packer :startup (require :plugin))