Enable exrc if nvim is version 0.9.0 or higher
This commit is contained in:
parent
101360066e
commit
d37c20404d
2
init.fnl
2
init.fnl
@ -60,6 +60,8 @@
|
|||||||
;(set vim.opt.autochdir true)
|
;(set vim.opt.autochdir true)
|
||||||
; Enable substitute 'g' flag by default
|
; Enable substitute 'g' flag by default
|
||||||
(set vim.opt.gdefault true)
|
(set vim.opt.gdefault true)
|
||||||
|
(let [ver (vim.version)]
|
||||||
|
(set vim.opt.exrc (or (> ver.major 0) (>= ver.minor 9))))
|
||||||
|
|
||||||
;; Remove trailing whitespace
|
;; Remove trailing whitespace
|
||||||
(fn remove-trailing-whitespace []
|
(fn remove-trailing-whitespace []
|
||||||
|
Reference in New Issue
Block a user