enable git by default for nvimtree

This commit is contained in:
siduck
2024-03-15 06:37:04 +05:30
parent 80c2e01c75
commit b94c57954f
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ local M = {}
local map = vim.keymap.set
local conf = require("nvconfig").ui.lsp
-- export on_attach & capabilities for custom lspconfigs
-- export on_attach & capabilities
M.on_attach = function(client, bufnr)
local function opts(desc)
return { buffer = bufnr, desc = desc }
+3 -4
View File
@@ -1,7 +1,6 @@
local options = {
filters = {
dotfiles = false,
exclude = { vim.fn.stdpath "config" .. "/lua/custom" },
},
disable_netrw = true,
hijack_netrw = true,
@@ -19,7 +18,7 @@ local options = {
preserve_window_proportions = true,
},
git = {
enable = false,
enable = true,
ignore = true,
},
filesystem_watchers = {
@@ -32,7 +31,7 @@ local options = {
},
renderer = {
root_folder_label = false,
highlight_git = false,
highlight_git = true,
highlight_opened_files = "none",
indent_markers = {
@@ -44,7 +43,7 @@ local options = {
file = true,
folder = true,
folder_arrow = true,
git = false,
git = true,
},
glyphs = {