upstream changes

This commit is contained in:
Kyung Song 2025-05-01 11:01:30 +09:00
parent 03f77fc616
commit 218683541f
2 changed files with 6 additions and 7 deletions

View File

@ -350,12 +350,13 @@ require('lazy').setup({
},
},
},
-- NOTE: Plugins can specify dependencies.
--
-- The dependencies are proper plugin specifications as well - anything
-- you do for a plugin at the top level, you can do for a dependency.
--
--
--
-- Use the `dependencies` key to specify the dependencies of a particular plugin
{ -- Fuzzy Finder (files, lsp, etc)

View File

@ -10,14 +10,12 @@ return {
{
'nvim-tree/nvim-tree.lua',
config = function()
local api = require 'nvim-tree.api'
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.api.nvim_create_autocmd('BufReadPost', {
callback = function(data)
local api = require 'nvim-tree.api'
api.tree.open()
end,
})
vim.keymap.set('n', '<leader>st', function()
api.tree.toggle()
end, { desc = '[S]earch file tree [T]oggle' })
require('nvim-tree').setup {
sort = { sorter = 'case_sensitive' },
view = { width = 30 },