Some random changes
This commit is contained in:
parent
c39aa3ddfd
commit
3dfaa747ca
7
init.fnl
7
init.fnl
@ -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))
|
||||||
|
Reference in New Issue
Block a user