nvim: set exrc and secure
This commit is contained in:
parent
d610a533b0
commit
66d9c48703
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ set.ruler = false
|
||||||
set.listchars = 'trail:~,tab:│ ,nbsp:␣,lead:·,extends:…,precedes:…'
|
set.listchars = 'trail:~,tab:│ ,nbsp:␣,lead:·,extends:…,precedes:…'
|
||||||
set.list = false
|
set.list = false
|
||||||
set.mousemodel = 'extend'
|
set.mousemodel = 'extend'
|
||||||
|
set.exrc = true
|
||||||
|
set.secure = true
|
||||||
|
|
||||||
-- Disable smartindent when editing `nix` files
|
-- Disable smartindent when editing `nix` files
|
||||||
autocmd("BufEnter", { pattern = "*.nix", callback = function() vim.opt_local.smartindent = false end })
|
autocmd("BufEnter", { pattern = "*.nix", callback = function() vim.opt_local.smartindent = false end })
|
||||||
|
|
Loading…
Add table
Reference in a new issue