summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorrmagillxyz <[email protected]>2021-05-14 02:00:22 -0400
committerGitHub <[email protected]>2021-05-14 02:00:22 -0400
commite15522278a4c776fb2b5e4bd0228b3ec2f1dbe5d (patch)
tree5c3beab407cb2f8859e458a37acb0a6ebdc74646 /lua/settings.lua
parentd118833913f0511b52d86fa377f97b6bf39b325d (diff)
Enable netrw (#394)
* enable_netrw: source lv-globals before plugins and add nvim_tree_disable_netrw to lv-globals, otherwise netrw is never enabled. If netrw is not enabled, netrw-externapp functionality, things like gx and gf to follow http links do not work. * enable_netrw: add nvim_tree_disable_netrw to the lv-globals O object and set it in settings && source settings before plugins
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index 5fdd87a3..fe82d9ed 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -34,6 +34,7 @@ vim.wo.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shif
vim.o.updatetime = 300 -- Faster completion
vim.o.timeoutlen = O.timeoutlen -- By default timeoutlen is 1000 ms
vim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything else
+vim.g.nvim_tree_disable_netrw = O.nvim_tree_disable_netrw
-- vim.o.guifont = "JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"
-- vim.o.guifont = "Hack\\ Nerd\\ Font\\ Mono"
-- vim.o.guifont = "SauceCodePro Nerd Font:h17"