mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: update config
This commit is contained in:
parent
896295d5ec
commit
990f8606e0
3 changed files with 256 additions and 280 deletions
|
@ -10,6 +10,7 @@
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" },
|
"code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" },
|
||||||
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
||||||
|
"darcula-dark.nvim": { "branch": "main", "commit": "d78f0ca9800f953f1509e275e8de0d2aefb8ccb6" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
|
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
||||||
|
@ -30,14 +31,13 @@
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
||||||
"nvim-juliana": { "branch": "master", "commit": "a5da27b456f440e652e04e25a282800bee2ea1e9" },
|
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" },
|
"nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" },
|
||||||
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
||||||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||||
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "5c924407cf110e9da4f3ba02ffed127b4198ad89" },
|
"nvim-treesitter": { "branch": "master", "commit": "f770df9c8cd56c05b878cdf35115ad872c822bc0" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "bcf3146864262ef2d3c877beba3e222b5c73780d" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "bcf3146864262ef2d3c877beba3e222b5c73780d" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
-- solarized-osaka
|
-- solarized-osaka
|
||||||
-- darcula-dark
|
-- darcula-dark
|
||||||
-- juliana
|
-- juliana
|
||||||
vim.g.pcode_colorscheme = "juliana"
|
vim.g.pcode_colorscheme = "darcula-dark"
|
||||||
|
|
||||||
-- 0 =off 1= on
|
-- 0 =off 1= on
|
||||||
vim.g.pcode_transparent_mode = 0
|
vim.g.pcode_transparent_mode = 0
|
||||||
|
|
|
@ -1,279 +1,255 @@
|
||||||
|
local icons = vim.g.pcode_icons
|
||||||
|
local HEIGHT_RATIO = 0.9 -- You can change this
|
||||||
|
local WIDTH_RATIO = 0.5 -- You can change this too
|
||||||
return {
|
return {
|
||||||
-- {
|
-- "kyazdani42/nvim-tree.lua",
|
||||||
-- "kyazdani42/nvim-tree.lua",
|
-- lazy = true,
|
||||||
-- lazy = true,
|
-- cmd = { "NvimTreeFindFileToggle","NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" },
|
||||||
-- event = "VeryLazy",
|
-- opts = {
|
||||||
-- cmd = { "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" },
|
-- auto_reload_on_write = false,
|
||||||
-- -- dependencies = "kyazdani42/nvim-web-devicons",
|
-- disable_netrw = false,
|
||||||
-- config = function()
|
-- hijack_cursor = false,
|
||||||
-- local data_exists, treeconfig = pcall(require, "core.config")
|
-- hijack_netrw = true,
|
||||||
-- if data_exists then
|
-- hijack_unnamed_buffer_when_opening = false,
|
||||||
-- if treeconfig.loadnvimtree_lazy then
|
-- sort_by = "name",
|
||||||
-- vim.g.loaded_netrw = 1
|
-- root_dirs = {},
|
||||||
-- vim.g.loaded_netrwPlugin = 1
|
-- prefer_startup_root = false,
|
||||||
--
|
-- sync_root_with_cwd = true,
|
||||||
-- -- set termguicolors to enable highlight groups
|
-- reload_on_bufenter = false,
|
||||||
-- vim.opt.termguicolors = true
|
-- respect_buf_cwd = false,
|
||||||
-- local status_ok, nvim_tree = pcall(require, "nvim-tree")
|
-- on_attach = "default",
|
||||||
-- if not status_ok then
|
-- select_prompts = false,
|
||||||
-- return
|
-- view = {
|
||||||
-- end
|
-- adaptive_size = false,
|
||||||
--
|
-- centralize_selection = true,
|
||||||
-- local HEIGHT_RATIO = 0.9 -- You can change this
|
-- -- width = 30,
|
||||||
-- local WIDTH_RATIO = 0.5 -- You can change this too
|
-- side = "left",
|
||||||
--
|
-- preserve_window_proportions = false,
|
||||||
-- local icons = require("user.icons")
|
-- number = false,
|
||||||
-- nvim_tree.setup({
|
-- relativenumber = false,
|
||||||
-- auto_reload_on_write = false,
|
-- signcolumn = "yes",
|
||||||
-- disable_netrw = false,
|
-- -- float = {
|
||||||
-- hijack_cursor = false,
|
-- -- enable = false,
|
||||||
-- hijack_netrw = true,
|
-- -- quit_on_focus_loss = true,
|
||||||
-- hijack_unnamed_buffer_when_opening = false,
|
-- -- open_win_config = {
|
||||||
-- sort_by = "name",
|
-- -- relative = "editor",
|
||||||
-- root_dirs = {},
|
-- -- border = "rounded",
|
||||||
-- prefer_startup_root = false,
|
-- -- width = 30,
|
||||||
-- sync_root_with_cwd = true,
|
-- -- height = 30,
|
||||||
-- reload_on_bufenter = false,
|
-- -- row = 1,
|
||||||
-- respect_buf_cwd = false,
|
-- -- col = 1,
|
||||||
-- on_attach = "default",
|
-- -- },
|
||||||
-- select_prompts = false,
|
-- -- },
|
||||||
-- view = {
|
-- float = {
|
||||||
-- adaptive_size = false,
|
-- enable = true,
|
||||||
-- centralize_selection = true,
|
-- open_win_config = function()
|
||||||
-- -- width = 30,
|
-- local screen_w = vim.opt.columns:get()
|
||||||
-- side = "left",
|
-- local screen_h = vim.opt.lines:get() - vim.opt.cmdheight:get()
|
||||||
-- preserve_window_proportions = false,
|
-- local window_w = screen_w * WIDTH_RATIO
|
||||||
-- number = false,
|
-- local window_h = screen_h * HEIGHT_RATIO
|
||||||
-- relativenumber = false,
|
-- local window_w_int = math.floor(window_w)
|
||||||
-- signcolumn = "yes",
|
-- local window_h_int = math.floor(window_h)
|
||||||
-- -- float = {
|
-- local center_x = (screen_w - window_w) / 2
|
||||||
-- -- enable = true,
|
-- local center_y = ((vim.opt.lines:get() - window_h) / 2) - vim.opt.cmdheight:get()
|
||||||
-- -- quit_on_focus_loss = true,
|
-- return {
|
||||||
-- -- open_win_config = {
|
-- border = "rounded",
|
||||||
-- -- relative = "editor",
|
-- relative = "editor",
|
||||||
-- -- border = "rounded",
|
-- row = center_y,
|
||||||
-- -- width = 30,
|
-- col = center_x,
|
||||||
-- -- height = 30,
|
-- width = window_w_int,
|
||||||
-- -- row = 1,
|
-- height = window_h_int,
|
||||||
-- -- col = 1,
|
-- }
|
||||||
-- -- },
|
-- end,
|
||||||
-- -- },
|
-- },
|
||||||
-- float = {
|
-- width = function()
|
||||||
-- enable = true,
|
-- return math.floor(vim.opt.columns:get() * WIDTH_RATIO)
|
||||||
-- open_win_config = function()
|
-- end,
|
||||||
-- local screen_w = vim.opt.columns:get()
|
-- },
|
||||||
-- local screen_h = vim.opt.lines:get() - vim.opt.cmdheight:get()
|
-- renderer = {
|
||||||
-- local window_w = screen_w * WIDTH_RATIO
|
-- add_trailing = false,
|
||||||
-- local window_h = screen_h * HEIGHT_RATIO
|
-- group_empty = false,
|
||||||
-- local window_w_int = math.floor(window_w)
|
-- highlight_git = true,
|
||||||
-- local window_h_int = math.floor(window_h)
|
-- full_name = false,
|
||||||
-- local center_x = (screen_w - window_w) / 2
|
-- highlight_opened_files = "none",
|
||||||
-- local center_y = ((vim.opt.lines:get() - window_h) / 2) - vim.opt.cmdheight:get()
|
-- -- root_folder_label = ":t",
|
||||||
-- return {
|
-- root_folder_label = false,
|
||||||
-- border = "rounded",
|
-- indent_width = 2,
|
||||||
-- relative = "editor",
|
-- indent_markers = {
|
||||||
-- row = center_y,
|
-- enable = true,
|
||||||
-- col = center_x,
|
-- inline_arrows = true,
|
||||||
-- width = window_w_int,
|
-- icons = {
|
||||||
-- height = window_h_int,
|
-- corner = "└",
|
||||||
-- }
|
-- edge = "│",
|
||||||
-- end,
|
-- item = "│",
|
||||||
-- },
|
-- none = " ",
|
||||||
-- width = function()
|
-- },
|
||||||
-- return math.floor(vim.opt.columns:get() * WIDTH_RATIO)
|
-- },
|
||||||
-- end,
|
-- icons = {
|
||||||
-- },
|
-- webdev_colors = true,
|
||||||
-- renderer = {
|
-- git_placement = "before",
|
||||||
-- add_trailing = false,
|
-- padding = " ",
|
||||||
-- group_empty = false,
|
-- symlink_arrow = " ➛ ",
|
||||||
-- highlight_git = true,
|
-- show = {
|
||||||
-- full_name = false,
|
-- file = true,
|
||||||
-- highlight_opened_files = "none",
|
-- folder = true,
|
||||||
-- root_folder_label = ":t",
|
-- folder_arrow = true,
|
||||||
-- -- root_folder_label = false,
|
-- git = true,
|
||||||
-- indent_width = 2,
|
-- },
|
||||||
-- indent_markers = {
|
-- glyphs = {
|
||||||
-- enable = true,
|
-- default = icons.ui.Text,
|
||||||
-- inline_arrows = true,
|
-- symlink = icons.ui.FileSymlink,
|
||||||
-- icons = {
|
-- bookmark = icons.ui.BookMark,
|
||||||
-- corner = "└",
|
-- folder = {
|
||||||
-- edge = "│",
|
-- -- arrow_closed = icons.ui.TriangleShortArrowRight,
|
||||||
-- item = "│",
|
-- arrow_closed = icons.ui.ChevronShortRight,
|
||||||
-- none = " ",
|
-- -- arrow_open = icons.ui.TriangleShortArrowDown,
|
||||||
-- },
|
-- arrow_open = icons.ui.ChevronShortDown,
|
||||||
-- },
|
-- default = icons.ui.Folder,
|
||||||
-- icons = {
|
-- open = icons.ui.FolderOpen,
|
||||||
-- webdev_colors = true,
|
-- empty = icons.ui.EmptyFolder,
|
||||||
-- git_placement = "before",
|
-- empty_open = icons.ui.EmptyFolderOpen,
|
||||||
-- padding = " ",
|
-- symlink = icons.ui.FolderSymlink,
|
||||||
-- symlink_arrow = " ➛ ",
|
-- symlink_open = icons.ui.FolderOpen,
|
||||||
-- show = {
|
-- },
|
||||||
-- file = true,
|
-- git = {
|
||||||
-- folder = true,
|
-- unstaged = icons.git.FileUnstaged,
|
||||||
-- folder_arrow = true,
|
-- staged = icons.git.FileStaged,
|
||||||
-- git = true,
|
-- unmerged = icons.git.FileUnmerged,
|
||||||
-- },
|
-- renamed = icons.git.FileRenamed,
|
||||||
-- glyphs = {
|
-- untracked = icons.git.FileUntracked,
|
||||||
-- default = icons.ui.Text,
|
-- deleted = icons.git.FileDeleted,
|
||||||
-- symlink = icons.ui.FileSymlink,
|
-- ignored = icons.git.FileIgnored,
|
||||||
-- bookmark = icons.ui.BookMark,
|
-- },
|
||||||
-- folder = {
|
-- },
|
||||||
-- -- arrow_closed = icons.ui.TriangleShortArrowRight,
|
-- },
|
||||||
-- arrow_closed = icons.ui.ChevronShortRight,
|
-- special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" },
|
||||||
-- -- arrow_open = icons.ui.TriangleShortArrowDown,
|
-- symlink_destination = true,
|
||||||
-- arrow_open = icons.ui.ChevronShortDown,
|
-- },
|
||||||
-- default = icons.ui.Folder,
|
-- hijack_directories = {
|
||||||
-- open = icons.ui.FolderOpen,
|
-- enable = false,
|
||||||
-- empty = icons.ui.EmptyFolder,
|
-- auto_open = true,
|
||||||
-- empty_open = icons.ui.EmptyFolderOpen,
|
-- },
|
||||||
-- symlink = icons.ui.FolderSymlink,
|
-- update_focused_file = {
|
||||||
-- symlink_open = icons.ui.FolderOpen,
|
-- enable = true,
|
||||||
-- },
|
-- debounce_delay = 15,
|
||||||
-- git = {
|
-- update_root = true,
|
||||||
-- unstaged = icons.git.FileUnstaged,
|
-- ignore_list = {},
|
||||||
-- staged = icons.git.FileStaged,
|
-- },
|
||||||
-- unmerged = icons.git.FileUnmerged,
|
-- diagnostics = {
|
||||||
-- renamed = icons.git.FileRenamed,
|
-- enable = true,
|
||||||
-- untracked = icons.git.FileUntracked,
|
-- show_on_dirs = false,
|
||||||
-- deleted = icons.git.FileDeleted,
|
-- show_on_open_dirs = true,
|
||||||
-- ignored = icons.git.FileIgnored,
|
-- debounce_delay = 50,
|
||||||
-- },
|
-- severity = {
|
||||||
-- },
|
-- min = vim.diagnostic.severity.HINT,
|
||||||
-- },
|
-- max = vim.diagnostic.severity.ERROR,
|
||||||
-- special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md" },
|
-- },
|
||||||
-- symlink_destination = true,
|
-- icons = {
|
||||||
-- },
|
-- hint = icons.diagnostics.BoldHint,
|
||||||
-- hijack_directories = {
|
-- info = icons.diagnostics.BoldInformation,
|
||||||
-- enable = false,
|
-- warning = icons.diagnostics.BoldWarning,
|
||||||
-- auto_open = true,
|
-- error = icons.diagnostics.BoldError,
|
||||||
-- },
|
-- },
|
||||||
-- update_focused_file = {
|
-- },
|
||||||
-- enable = true,
|
-- filters = {
|
||||||
-- debounce_delay = 15,
|
-- dotfiles = false,
|
||||||
-- update_root = true,
|
-- git_clean = false,
|
||||||
-- ignore_list = {},
|
-- no_buffer = false,
|
||||||
-- },
|
-- custom = { "node_modules", "\\.cache", "\\.git" },
|
||||||
-- diagnostics = {
|
-- exclude = {
|
||||||
-- enable = true,
|
-- ".gitignore",
|
||||||
-- show_on_dirs = false,
|
-- ".prettierignore",
|
||||||
-- show_on_open_dirs = true,
|
-- },
|
||||||
-- debounce_delay = 50,
|
-- },
|
||||||
-- severity = {
|
-- filesystem_watchers = {
|
||||||
-- min = vim.diagnostic.severity.HINT,
|
-- enable = true,
|
||||||
-- max = vim.diagnostic.severity.ERROR,
|
-- debounce_delay = 50,
|
||||||
-- },
|
-- ignore_dirs = {},
|
||||||
-- icons = {
|
-- },
|
||||||
-- hint = icons.diagnostics.BoldHint,
|
-- git = {
|
||||||
-- info = icons.diagnostics.BoldInformation,
|
-- enable = true,
|
||||||
-- warning = icons.diagnostics.BoldWarning,
|
-- ignore = false,
|
||||||
-- error = icons.diagnostics.BoldError,
|
-- show_on_dirs = true,
|
||||||
-- },
|
-- show_on_open_dirs = true,
|
||||||
-- },
|
-- disable_for_dirs = {},
|
||||||
-- filters = {
|
-- timeout = 400,
|
||||||
-- dotfiles = false,
|
-- },
|
||||||
-- git_clean = false,
|
-- actions = {
|
||||||
-- no_buffer = false,
|
-- use_system_clipboard = true,
|
||||||
-- custom = { "node_modules", "\\.cache", "\\.git" },
|
-- change_dir = {
|
||||||
-- exclude = {
|
-- enable = true,
|
||||||
-- ".gitignore",
|
-- global = false,
|
||||||
-- ".prettierignore",
|
-- restrict_above_cwd = false,
|
||||||
-- },
|
-- },
|
||||||
-- },
|
-- expand_all = {
|
||||||
-- filesystem_watchers = {
|
-- max_folder_discovery = 300,
|
||||||
-- enable = true,
|
-- exclude = {},
|
||||||
-- debounce_delay = 50,
|
-- },
|
||||||
-- ignore_dirs = {},
|
-- file_popup = {
|
||||||
-- },
|
-- open_win_config = {
|
||||||
-- git = {
|
-- col = 1,
|
||||||
-- enable = true,
|
-- row = 1,
|
||||||
-- ignore = false,
|
-- relative = "cursor",
|
||||||
-- show_on_dirs = true,
|
-- border = "shadow",
|
||||||
-- show_on_open_dirs = true,
|
-- style = "minimal",
|
||||||
-- disable_for_dirs = {},
|
-- },
|
||||||
-- timeout = 400,
|
-- },
|
||||||
-- },
|
-- open_file = {
|
||||||
-- actions = {
|
-- quit_on_open = false,
|
||||||
-- use_system_clipboard = true,
|
-- resize_window = false,
|
||||||
-- change_dir = {
|
-- window_picker = {
|
||||||
-- enable = true,
|
-- enable = true,
|
||||||
-- global = false,
|
-- picker = "default",
|
||||||
-- restrict_above_cwd = false,
|
-- chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||||
-- },
|
-- exclude = {
|
||||||
-- expand_all = {
|
-- filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" },
|
||||||
-- max_folder_discovery = 300,
|
-- buftype = { "nofile", "terminal", "help" },
|
||||||
-- exclude = {},
|
-- },
|
||||||
-- },
|
-- },
|
||||||
-- file_popup = {
|
-- },
|
||||||
-- open_win_config = {
|
-- remove_file = {
|
||||||
-- col = 1,
|
-- close_window = true,
|
||||||
-- row = 1,
|
-- },
|
||||||
-- relative = "cursor",
|
-- },
|
||||||
-- border = "shadow",
|
-- trash = {
|
||||||
-- style = "minimal",
|
-- cmd = "trash",
|
||||||
-- },
|
-- require_confirm = true,
|
||||||
-- },
|
-- },
|
||||||
-- open_file = {
|
-- live_filter = {
|
||||||
-- quit_on_open = false,
|
-- prefix = "[FILTER]: ",
|
||||||
-- resize_window = false,
|
-- always_show_folders = true,
|
||||||
-- window_picker = {
|
-- },
|
||||||
-- enable = true,
|
-- tab = {
|
||||||
-- picker = "default",
|
-- sync = {
|
||||||
-- chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
-- open = false,
|
||||||
-- exclude = {
|
-- close = false,
|
||||||
-- filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" },
|
-- ignore = {},
|
||||||
-- buftype = { "nofile", "terminal", "help" },
|
-- },
|
||||||
-- },
|
-- },
|
||||||
-- },
|
-- notify = {
|
||||||
-- },
|
-- threshold = vim.log.levels.INFO,
|
||||||
-- remove_file = {
|
-- -- threshold = vim.log.levels.ERROR,
|
||||||
-- close_window = true,
|
-- },
|
||||||
-- },
|
-- log = {
|
||||||
-- },
|
-- enable = false,
|
||||||
-- trash = {
|
-- truncate = false,
|
||||||
-- cmd = "trash",
|
-- types = {
|
||||||
-- require_confirm = true,
|
-- all = false,
|
||||||
-- },
|
-- config = false,
|
||||||
-- live_filter = {
|
-- copy_paste = false,
|
||||||
-- prefix = "[FILTER]: ",
|
-- dev = false,
|
||||||
-- always_show_folders = true,
|
-- diagnostics = false,
|
||||||
-- },
|
-- git = false,
|
||||||
-- tab = {
|
-- profile = false,
|
||||||
-- sync = {
|
-- watcher = false,
|
||||||
-- open = false,
|
-- },
|
||||||
-- close = false,
|
-- },
|
||||||
-- ignore = {},
|
-- system_open = {
|
||||||
-- },
|
-- cmd = nil,
|
||||||
-- },
|
-- args = {},
|
||||||
-- notify = {
|
-- },
|
||||||
-- threshold = vim.log.levels.INFO,
|
-- },
|
||||||
-- -- threshold = vim.log.levels.ERROR,
|
-- config = function(_, opts)
|
||||||
-- },
|
-- require("nvim-tree").setup(opts)
|
||||||
-- log = {
|
-- end,
|
||||||
-- enable = false,
|
|
||||||
-- truncate = false,
|
|
||||||
-- types = {
|
|
||||||
-- all = false,
|
|
||||||
-- config = false,
|
|
||||||
-- copy_paste = false,
|
|
||||||
-- dev = false,
|
|
||||||
-- diagnostics = false,
|
|
||||||
-- git = false,
|
|
||||||
-- profile = false,
|
|
||||||
-- watcher = false,
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- system_open = {
|
|
||||||
-- cmd = nil,
|
|
||||||
-- args = {},
|
|
||||||
-- },
|
|
||||||
-- })
|
|
||||||
-- end
|
|
||||||
-- end
|
|
||||||
-- -- auto open file if creation
|
|
||||||
-- local api = require("nvim-tree.api")
|
|
||||||
-- api.events.subscribe(api.events.Event.FileCreated, function(file)
|
|
||||||
-- vim.cmd("edit " .. file.fname)
|
|
||||||
-- end)
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue