upstream changes
This commit is contained in:
parent
03f77fc616
commit
218683541f
3
init.lua
3
init.lua
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue