mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-03 03:09:26 +00:00
[neovim] replace neo-tree with snacks.nvim
Replace neo-tree.nvim with snacks.nvim for file explorer functionality and remove several other plugins including: - mini-animate - mini-starter - indent-blankline The snacks.nvim plugin provides better file explorer, dashboard, indentation guides, and other UI improvements in a more cohesive package. Also removed the large file autocommand as snacks.nvim handles this with its bigfile module.
This commit is contained in:
@ -17,7 +17,7 @@ bufferline.setup({
|
||||
close_command = "Bdelete! %d",
|
||||
right_mouse_command = "Bdelete! %d",
|
||||
offsets = {
|
||||
{ filetype = "neo-tree", text = "", padding = 1 },
|
||||
{ filetype = "snacks_picker_list", text = "", padding = 1 },
|
||||
{ filetype = "dapui_scopes", text = "", padding = 1 },
|
||||
},
|
||||
indicator = {
|
||||
@ -30,10 +30,7 @@ bufferline.setup({
|
||||
|
||||
custom_areas = {
|
||||
left = function()
|
||||
local text = ""
|
||||
if not is_buffer_loaded("neo-tree") then
|
||||
text = " " .. string.gsub(vim.loop.cwd(), "^" .. os.getenv("HOME"), "~") .. " "
|
||||
end
|
||||
local text = " " .. string.gsub(vim.loop.cwd(), "^" .. os.getenv("HOME"), "~") .. " "
|
||||
|
||||
return { { text = text, fg = "#adbac7" } }
|
||||
end,
|
||||
|
Reference in New Issue
Block a user