Replies: 5 comments 5 replies
-
Hidden files (beginning with It sounds like your .env file is ignored by git - perhaps in your |
Beta Was this translation helpful? Give feedback.
-
Please run
I see the problem. The README is incorrect. It will be updated #1291. See |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the above probably doesn't answer your question. If
|
Beta Was this translation helpful? Give feedback.
-
Ran into this and the fix is to set git = { ignore = false } Here is my nvim-tree.lua file: -- import nvim-tree plugin safely
local setup, nvimtree = pcall(require, "nvim-tree")
if not setup then
return
end
-- recommended settings from nvim-tree documentation
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- change color for arrows in tree to light blue
vim.cmd([[ highlight NvimTreeIndentMarker guifg=#3FC5FF ]])
-- configure nvim-tree
nvimtree.setup({
-- change folder arrow icons
renderer = {
icons = {
glyphs = {
folder = {
arrow_closed = "+", -- arrow when folder is closed
arrow_open = "-", -- arrow when folder is open
},
},
},
},
-- disable window_picker for
-- explorer to work well with
-- window splits
actions = {
open_file = {
window_picker = {
enable = false,
},
},
},
git = {
ignore = false,
},
}) |
Beta Was this translation helpful? Give feedback.
-
this work's for me, to hide only ".git" folder filters = {
custom = {"^\\.git"}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to display hidden files by default and not by pressing 'I' (for some reason my '.env' file is treated as a hidden file, while .gitignore as a 'dotfile')?
Beta Was this translation helpful? Give feedback.
All reactions