mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
update
This commit is contained in:
parent
b616038b19
commit
b89074da6b
5 changed files with 832 additions and 832 deletions
|
@ -21,7 +21,6 @@
|
|||
"mason-lspconfig.nvim": { "branch": "main", "commit": "2ba17cecfde8b8c7c7c287909a1e4de895223df6" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
|
||||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
||||
"mini.indentscope": { "branch": "main", "commit": "93a515fe0f38165a0d3c0f8fcae459294608851f" },
|
||||
"noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" },
|
||||
"none-ls-extras.nvim": { "branch": "main", "commit": "f0746bf4f1a21d6e1d2002f671fb9b46d2146de7" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "09a7c58e9283dda582d9805f6b182b5b9f137ec7" },
|
||||
|
@ -41,13 +40,13 @@
|
|||
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "a55b801b7ef5719ca25692c3a0a5447fdfb692ed" },
|
||||
"onedark.nvim": { "branch": "master", "commit": "1230aaf2a427b2c5b73aba6e4a9a5881d3e69429" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
||||
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
||||
"statuscol.nvim": { "branch": "main", "commit": "d954893262a57a92e46edd87de67e2b3fe72305e" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5a701e99906961218b55d7ad6c2a998f066c6fe0" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "67c6050e1ca41260c919236a098ba278472c7520" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },
|
||||
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },
|
||||
"vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" },
|
||||
|
|
|
@ -1,32 +1,33 @@
|
|||
local transparent_mode = require("core.config").transparent_mode
|
||||
if transparent_mode ~= nil then
|
||||
if transparent_mode == 1 then
|
||||
vim.cmd("TransparentDisable")
|
||||
vim.cmd("TransparentEnable")
|
||||
end
|
||||
if transparent_mode == 1 then
|
||||
vim.cmd("TransparentDisable")
|
||||
vim.cmd("TransparentEnable")
|
||||
end
|
||||
end
|
||||
|
||||
-- get folder name from current directory
|
||||
local _get_folder_name = function()
|
||||
local str = vim.fn.fnamemodify(vim.fn.getcwd(), ":t")
|
||||
return " " .. str:lower():gsub("^%l", string.upper) .. " "
|
||||
local str = vim.fn.fnamemodify(vim.fn.getcwd(), ":t")
|
||||
return " " .. str:lower():gsub("^%l", string.upper) .. " "
|
||||
end
|
||||
|
||||
local term_program = vim.fn.getenv("TERM_PROGRAM")
|
||||
if term_program == "WezTerm" then
|
||||
-- vim.cmd('silent !wezterm cli set-tab-title "' .. _get_folder_name() .. '"')
|
||||
-- create autocmd on insertEnter
|
||||
vim.api.nvim_create_autocmd("BufRead", {
|
||||
group = vim.api.nvim_create_augroup("BufRead", { clear = true }),
|
||||
command = 'silent !wezterm cli set-tab-title "' .. _get_folder_name() .. '"',
|
||||
desc = "Set Folder Name",
|
||||
})
|
||||
-- vim.cmd('silent !wezterm cli set-tab-title "' .. _get_folder_name() .. '"')
|
||||
-- create autocmd on insertEnter
|
||||
vim.api.nvim_create_autocmd("BufRead", {
|
||||
group = vim.api.nvim_create_augroup("BufRead", { clear = true }),
|
||||
command = 'silent !wezterm cli set-tab-title "' .. _get_folder_name() .. '"',
|
||||
desc = "Set Folder Name",
|
||||
})
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("ExitPre", {
|
||||
group = vim.api.nvim_create_augroup("Exit", { clear = true }),
|
||||
command = "set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175,a:ver90",
|
||||
desc = "Set cursor back to beam when leaving Neovim.",
|
||||
group = vim.api.nvim_create_augroup("Exit", { clear = true }),
|
||||
command =
|
||||
"set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175,a:ver90",
|
||||
desc = "Set cursor back to beam when leaving Neovim.",
|
||||
})
|
||||
|
||||
-- config for vim-visual-multi color selection
|
||||
|
|
|
@ -1,153 +1,153 @@
|
|||
local icons = require("user.icons")
|
||||
return {
|
||||
--- masukan plugin tambahan disini
|
||||
-- {
|
||||
-- "folke/trouble.nvim",
|
||||
-- event = "BufRead",
|
||||
-- cmd = { "TroubleToggle", "Trouble" },
|
||||
-- opts = { use_diagnostic_signs = true },
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "<leader>xx",
|
||||
-- "<cmd>TroubleToggle document_diagnostics<cr>",
|
||||
-- desc = "Document Diagnostics (Trouble)",
|
||||
-- },
|
||||
-- {
|
||||
-- "<leader>xX",
|
||||
-- "<cmd>TroubleToggle workspace_diagnostics<cr>",
|
||||
-- desc = "Workspace Diagnostics (Trouble)",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- {
|
||||
-- "echasnovski/mini.indentscope",
|
||||
-- version = false, -- wait till new 0.7.0 release to put it back on semver
|
||||
-- event = "BufReadPre",
|
||||
-- opts = {
|
||||
-- -- symbol = "▏",
|
||||
-- -- symbol = "│",
|
||||
-- symbol = icons.ui.LineMiddle,
|
||||
-- options = { try_as_border = true },
|
||||
-- },
|
||||
-- config = function(_, opts)
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" },
|
||||
-- callback = function()
|
||||
-- vim.b.miniindentscope_disable = true
|
||||
-- end,
|
||||
-- })
|
||||
-- require("mini.indentscope").setup(opts)
|
||||
-- end,
|
||||
-- },
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lua",
|
||||
enabled = false,
|
||||
},
|
||||
-- {
|
||||
-- "gbprod/yanky.nvim",
|
||||
-- event = "BufReadPre",
|
||||
-- config = function()
|
||||
-- require("user.yanky")
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- "is0n/jaq-nvim",
|
||||
-- event = "BufRead",
|
||||
-- config = function()
|
||||
-- require("user.jaq")
|
||||
-- end,
|
||||
-- },
|
||||
-- better todo coloring and icon
|
||||
-- {
|
||||
-- "folke/todo-comments.nvim",
|
||||
-- event = { "BufReadPost", "BufNewFile" },
|
||||
-- config = function()
|
||||
-- require("todo-comments").setup()
|
||||
-- end,
|
||||
-- },
|
||||
-- mini scrollview
|
||||
-- {
|
||||
-- "karb94/neoscroll.nvim",
|
||||
-- event = "BufRead",
|
||||
-- config = function()
|
||||
-- require("user.neoscroll")
|
||||
-- end,
|
||||
-- },
|
||||
--- masukan plugin tambahan disini
|
||||
-- {
|
||||
-- "folke/trouble.nvim",
|
||||
-- event = "BufRead",
|
||||
-- cmd = { "TroubleToggle", "Trouble" },
|
||||
-- opts = { use_diagnostic_signs = true },
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "<leader>xx",
|
||||
-- "<cmd>TroubleToggle document_diagnostics<cr>",
|
||||
-- desc = "Document Diagnostics (Trouble)",
|
||||
-- },
|
||||
-- {
|
||||
-- "<leader>xX",
|
||||
-- "<cmd>TroubleToggle workspace_diagnostics<cr>",
|
||||
-- desc = "Workspace Diagnostics (Trouble)",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- {
|
||||
-- "echasnovski/mini.indentscope",
|
||||
-- version = false, -- wait till new 0.7.0 release to put it back on semver
|
||||
-- event = "BufReadPre",
|
||||
-- opts = {
|
||||
-- -- symbol = "▏",
|
||||
-- -- symbol = "│",
|
||||
-- symbol = icons.ui.LineMiddle,
|
||||
-- options = { try_as_border = true },
|
||||
-- },
|
||||
-- config = function(_, opts)
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = { "help", "alpha", "dashboard", "NvimTree", "Trouble", "lazy", "mason" },
|
||||
-- callback = function()
|
||||
-- vim.b.miniindentscope_disable = true
|
||||
-- end,
|
||||
-- })
|
||||
-- require("mini.indentscope").setup(opts)
|
||||
-- end,
|
||||
-- },
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lua",
|
||||
enabled = false,
|
||||
},
|
||||
-- {
|
||||
-- "gbprod/yanky.nvim",
|
||||
-- event = "BufReadPre",
|
||||
-- config = function()
|
||||
-- require("user.yanky")
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- "is0n/jaq-nvim",
|
||||
-- event = "BufRead",
|
||||
-- config = function()
|
||||
-- require("user.jaq")
|
||||
-- end,
|
||||
-- },
|
||||
-- better todo coloring and icon
|
||||
-- {
|
||||
-- "folke/todo-comments.nvim",
|
||||
-- event = { "BufReadPost", "BufNewFile" },
|
||||
-- config = function()
|
||||
-- require("todo-comments").setup()
|
||||
-- end,
|
||||
-- },
|
||||
-- mini scrollview
|
||||
-- {
|
||||
-- "karb94/neoscroll.nvim",
|
||||
-- event = "BufRead",
|
||||
-- config = function()
|
||||
-- require("user.neoscroll")
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- { "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6", event = "VeryLazy" }, --
|
||||
-- additional plugins
|
||||
-- makes some plugins dot-repeatable like leap
|
||||
-- { "tpope/vim-repeat", event = "VeryLazy" },
|
||||
-- better diagnostics list and others
|
||||
-- for markdown preview
|
||||
-- make sure already install npm and yarn
|
||||
-- {
|
||||
-- "iamcco/markdown-preview.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- build = "cd app && npm install",
|
||||
-- init = function()
|
||||
-- vim.g.mkdp_filetypes = { "markdown" }
|
||||
-- end,
|
||||
-- ft = { "markdown" },
|
||||
-- cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" },
|
||||
-- },
|
||||
-- for codeGPT
|
||||
-- {
|
||||
-- "jackMort/ChatGPT.nvim",
|
||||
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
|
||||
-- lazy = true,
|
||||
-- event = "VeryLazy",
|
||||
-- -- opts = function()
|
||||
-- -- require("user.chat_gpt")
|
||||
-- -- end,
|
||||
-- },
|
||||
-- indent detection
|
||||
-- {
|
||||
-- "Darazaki/indent-o-matic",
|
||||
-- event = "VeryLazy",
|
||||
-- opt = true,
|
||||
-- cmd = { "IndentOMatic" },
|
||||
-- config = function()
|
||||
-- require("user.indent-o-matic")
|
||||
-- end,
|
||||
-- },
|
||||
-- Khusus Projek laravel baru di buka
|
||||
-- {
|
||||
-- "adalessa/laravel.nvim",
|
||||
-- dependencies = {
|
||||
-- "nvim-telescope/telescope.nvim",
|
||||
-- },
|
||||
-- cmd = { "Sail", "Artisan", "Composer" },
|
||||
-- keys = {
|
||||
-- { "<leader>pa", ":Artisan<cr>" },
|
||||
-- },
|
||||
-- config = function()
|
||||
-- require("laravel").setup()
|
||||
-- require("telescope").load_extension("laravel")
|
||||
-- end,
|
||||
-- },
|
||||
-- --
|
||||
-- {
|
||||
-- "barrett-ruth/live-server.nvim",
|
||||
-- build = "yarn global add live-server",
|
||||
-- config = true,
|
||||
-- init = function()
|
||||
-- require("live-server").setup({
|
||||
-- -- Arguments passed to live-server via `vim.fn.jobstart()`
|
||||
-- -- Run `live-server --help` to see list of available options
|
||||
-- -- For example, to use port 7000 and browser firefox:
|
||||
-- args = { "--port=7000", "--browser=firefox" },
|
||||
-- --args = {},
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
-- for install lsp tidak support mason
|
||||
-- {
|
||||
-- "williamboman/nvim-lsp-installer",
|
||||
-- event = "BufRead",
|
||||
-- lazy = true,
|
||||
-- config = function()
|
||||
-- require("user.lsp.config")
|
||||
-- end,
|
||||
-- },
|
||||
-- { "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6", event = "VeryLazy" }, --
|
||||
-- additional plugins
|
||||
-- makes some plugins dot-repeatable like leap
|
||||
-- { "tpope/vim-repeat", event = "VeryLazy" },
|
||||
-- better diagnostics list and others
|
||||
-- for markdown preview
|
||||
-- make sure already install npm and yarn
|
||||
-- {
|
||||
-- "iamcco/markdown-preview.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- build = "cd app && npm install",
|
||||
-- init = function()
|
||||
-- vim.g.mkdp_filetypes = { "markdown" }
|
||||
-- end,
|
||||
-- ft = { "markdown" },
|
||||
-- cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" },
|
||||
-- },
|
||||
-- for codeGPT
|
||||
-- {
|
||||
-- "jackMort/ChatGPT.nvim",
|
||||
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
|
||||
-- lazy = true,
|
||||
-- event = "VeryLazy",
|
||||
-- -- opts = function()
|
||||
-- -- require("user.chat_gpt")
|
||||
-- -- end,
|
||||
-- },
|
||||
-- indent detection
|
||||
-- {
|
||||
-- "Darazaki/indent-o-matic",
|
||||
-- event = "VeryLazy",
|
||||
-- opt = true,
|
||||
-- cmd = { "IndentOMatic" },
|
||||
-- config = function()
|
||||
-- require("user.indent-o-matic")
|
||||
-- end,
|
||||
-- },
|
||||
-- Khusus Projek laravel baru di buka
|
||||
-- {
|
||||
-- "adalessa/laravel.nvim",
|
||||
-- dependencies = {
|
||||
-- "nvim-telescope/telescope.nvim",
|
||||
-- },
|
||||
-- cmd = { "Sail", "Artisan", "Composer" },
|
||||
-- keys = {
|
||||
-- { "<leader>pa", ":Artisan<cr>" },
|
||||
-- },
|
||||
-- config = function()
|
||||
-- require("laravel").setup()
|
||||
-- require("telescope").load_extension("laravel")
|
||||
-- end,
|
||||
-- },
|
||||
-- --
|
||||
-- {
|
||||
-- "barrett-ruth/live-server.nvim",
|
||||
-- build = "yarn global add live-server",
|
||||
-- config = true,
|
||||
-- init = function()
|
||||
-- require("live-server").setup({
|
||||
-- -- Arguments passed to live-server via `vim.fn.jobstart()`
|
||||
-- -- Run `live-server --help` to see list of available options
|
||||
-- -- For example, to use port 7000 and browser firefox:
|
||||
-- args = { "--port=7000", "--browser=firefox" },
|
||||
-- --args = {},
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
-- for install lsp tidak support mason
|
||||
-- {
|
||||
-- "williamboman/nvim-lsp-installer",
|
||||
-- event = "BufRead",
|
||||
-- lazy = true,
|
||||
-- config = function()
|
||||
-- require("user.lsp.config")
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,167 +5,167 @@ vim.g.loaded_netrwPlugin = 1
|
|||
vim.opt.termguicolors = true
|
||||
local status_ok, nvim_tree = pcall(require, "nvim-tree")
|
||||
if not status_ok then
|
||||
return
|
||||
return
|
||||
end
|
||||
|
||||
local icons = require("user.icons")
|
||||
nvim_tree.setup({
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
git_clean = false,
|
||||
no_buffer = false,
|
||||
custom = { "node_modules", "\\.cache", "\\.git" },
|
||||
exclude = {
|
||||
".gitignore",
|
||||
".prettierignore",
|
||||
},
|
||||
},
|
||||
filesystem_watchers = {
|
||||
enable = true,
|
||||
debounce_delay = 50,
|
||||
ignore_dirs = {},
|
||||
},
|
||||
git = {
|
||||
enable = true, -- false dulu karena muncul error
|
||||
ignore = false, -- true dulu karena muncul error
|
||||
show_on_dirs = true,
|
||||
show_on_open_dirs = true,
|
||||
timeout = 200,
|
||||
},
|
||||
actions = {
|
||||
use_system_clipboard = true,
|
||||
change_dir = {
|
||||
enable = true,
|
||||
global = false,
|
||||
restrict_above_cwd = false,
|
||||
},
|
||||
expand_all = {
|
||||
max_folder_discovery = 300,
|
||||
exclude = {},
|
||||
},
|
||||
file_popup = {
|
||||
open_win_config = {
|
||||
col = 1,
|
||||
row = 1,
|
||||
relative = "cursor",
|
||||
border = "shadow",
|
||||
style = "minimal",
|
||||
},
|
||||
},
|
||||
open_file = {
|
||||
quit_on_open = false,
|
||||
resize_window = false,
|
||||
window_picker = {
|
||||
enable = true,
|
||||
picker = "default",
|
||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||
exclude = {
|
||||
filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" },
|
||||
buftype = { "nofile", "terminal", "help" },
|
||||
},
|
||||
},
|
||||
},
|
||||
remove_file = {
|
||||
close_window = true,
|
||||
},
|
||||
},
|
||||
trash = {
|
||||
cmd = "trash",
|
||||
require_confirm = true,
|
||||
},
|
||||
live_filter = {
|
||||
prefix = "[FILTER]: ",
|
||||
always_show_folders = true,
|
||||
},
|
||||
tab = {
|
||||
sync = {
|
||||
open = false,
|
||||
close = false,
|
||||
ignore = {},
|
||||
},
|
||||
},
|
||||
notify = {
|
||||
threshold = vim.log.levels.INFO,
|
||||
},
|
||||
log = {
|
||||
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 = {},
|
||||
},
|
||||
renderer = {
|
||||
-- root_folder_modifier = ":t",
|
||||
root_folder_label = false,
|
||||
indent_markers = {
|
||||
enable = true,
|
||||
inline_arrows = true,
|
||||
icons = {
|
||||
corner = "└",
|
||||
edge = "│",
|
||||
item = "│",
|
||||
bottom = "─",
|
||||
none = " ",
|
||||
},
|
||||
},
|
||||
icons = {
|
||||
webdev_colors = true,
|
||||
show = {
|
||||
git = true,
|
||||
folder = true,
|
||||
file = true,
|
||||
folder_arrow = true,
|
||||
},
|
||||
glyphs = {
|
||||
default = icons.ui.Text,
|
||||
symlink = icons.ui.FileSymlink,
|
||||
folder = {
|
||||
arrow_open = icons.ui.ChevronShortDown,
|
||||
arrow_closed = icons.ui.ChevronShortRight,
|
||||
default = icons.ui.Folder,
|
||||
empty = icons.ui.EmptyFolder,
|
||||
empty_open = icons.ui.EmptyFolderOpen,
|
||||
open = icons.ui.FolderOpen,
|
||||
symlink = icons.ui.FolderSymlink,
|
||||
symlink_open = icons.ui.FolderSymlink,
|
||||
},
|
||||
git = {
|
||||
deleted = icons.git.FileDeleted,
|
||||
-- ignored = icons.git.FileIgnored,
|
||||
ignored = "",
|
||||
renamed = icons.git.FileRenamed,
|
||||
staged = icons.git.FileStaged,
|
||||
unmerged = icons.git.FileUnmerged,
|
||||
unstaged = icons.git.FileUnstaged,
|
||||
untracked = icons.git.FileUntracked,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
show_on_dirs = true,
|
||||
icons = {
|
||||
hint = icons.diagnostics.BoldHint,
|
||||
info = icons.diagnostics.BoldInformation,
|
||||
warning = icons.diagnostics.BoldWarning,
|
||||
error = icons.diagnostics.BoldError,
|
||||
},
|
||||
},
|
||||
view = {
|
||||
width = 30,
|
||||
-- hide_root_folder = false,
|
||||
side = "left",
|
||||
},
|
||||
filters = {
|
||||
dotfiles = false,
|
||||
git_clean = false,
|
||||
no_buffer = false,
|
||||
custom = { "node_modules", "\\.cache", "\\.git" },
|
||||
exclude = {
|
||||
".gitignore",
|
||||
".prettierignore",
|
||||
},
|
||||
},
|
||||
filesystem_watchers = {
|
||||
enable = true,
|
||||
debounce_delay = 50,
|
||||
ignore_dirs = {},
|
||||
},
|
||||
git = {
|
||||
enable = true, -- false dulu karena muncul error
|
||||
ignore = false, -- true dulu karena muncul error
|
||||
show_on_dirs = true,
|
||||
show_on_open_dirs = true,
|
||||
timeout = 200,
|
||||
},
|
||||
actions = {
|
||||
use_system_clipboard = true,
|
||||
change_dir = {
|
||||
enable = true,
|
||||
global = false,
|
||||
restrict_above_cwd = false,
|
||||
},
|
||||
expand_all = {
|
||||
max_folder_discovery = 300,
|
||||
exclude = {},
|
||||
},
|
||||
file_popup = {
|
||||
open_win_config = {
|
||||
col = 1,
|
||||
row = 1,
|
||||
relative = "cursor",
|
||||
border = "shadow",
|
||||
style = "minimal",
|
||||
},
|
||||
},
|
||||
open_file = {
|
||||
quit_on_open = false,
|
||||
resize_window = false,
|
||||
window_picker = {
|
||||
enable = true,
|
||||
picker = "default",
|
||||
chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
|
||||
exclude = {
|
||||
filetype = { "notify", "lazy", "qf", "diff", "fugitive", "fugitiveblame" },
|
||||
buftype = { "nofile", "terminal", "help" },
|
||||
},
|
||||
},
|
||||
},
|
||||
remove_file = {
|
||||
close_window = true,
|
||||
},
|
||||
},
|
||||
trash = {
|
||||
cmd = "trash",
|
||||
require_confirm = true,
|
||||
},
|
||||
live_filter = {
|
||||
prefix = "[FILTER]: ",
|
||||
always_show_folders = true,
|
||||
},
|
||||
tab = {
|
||||
sync = {
|
||||
open = false,
|
||||
close = false,
|
||||
ignore = {},
|
||||
},
|
||||
},
|
||||
notify = {
|
||||
threshold = vim.log.levels.INFO,
|
||||
},
|
||||
log = {
|
||||
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 = {},
|
||||
},
|
||||
renderer = {
|
||||
-- root_folder_modifier = ":t",
|
||||
root_folder_label = false,
|
||||
indent_markers = {
|
||||
enable = false,
|
||||
inline_arrows = true,
|
||||
icons = {
|
||||
corner = "└",
|
||||
edge = "│",
|
||||
item = "│",
|
||||
bottom = "─",
|
||||
none = " ",
|
||||
},
|
||||
},
|
||||
icons = {
|
||||
webdev_colors = true,
|
||||
show = {
|
||||
git = true,
|
||||
folder = true,
|
||||
file = true,
|
||||
folder_arrow = true,
|
||||
},
|
||||
glyphs = {
|
||||
default = icons.ui.Text,
|
||||
symlink = icons.ui.FileSymlink,
|
||||
folder = {
|
||||
arrow_open = icons.ui.ChevronShortDown,
|
||||
arrow_closed = icons.ui.ChevronShortRight,
|
||||
default = icons.ui.Folder,
|
||||
empty = icons.ui.EmptyFolder,
|
||||
empty_open = icons.ui.EmptyFolderOpen,
|
||||
open = icons.ui.FolderOpen,
|
||||
symlink = icons.ui.FolderSymlink,
|
||||
symlink_open = icons.ui.FolderSymlink,
|
||||
},
|
||||
git = {
|
||||
deleted = icons.git.FileDeleted,
|
||||
-- ignored = icons.git.FileIgnored,
|
||||
ignored = "",
|
||||
renamed = icons.git.FileRenamed,
|
||||
staged = icons.git.FileStaged,
|
||||
unmerged = icons.git.FileUnmerged,
|
||||
unstaged = icons.git.FileUnstaged,
|
||||
untracked = icons.git.FileUntracked,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
show_on_dirs = true,
|
||||
icons = {
|
||||
hint = icons.diagnostics.BoldHint,
|
||||
info = icons.diagnostics.BoldInformation,
|
||||
warning = icons.diagnostics.BoldWarning,
|
||||
error = icons.diagnostics.BoldError,
|
||||
},
|
||||
},
|
||||
view = {
|
||||
width = 30,
|
||||
-- hide_root_folder = false,
|
||||
side = "left",
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue