diff --git a/lazy-lock.json b/lazy-lock.json index 45238e3..14fb358 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,5 +3,8 @@ "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lualine-spell-status": { "branch": "main", "commit": "aa81c2c9a71e3ed3552c6cd75e150414ff9ac664" }, "lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" }, - "nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" } + "neo-tree.nvim": { "branch": "v3.x", "commit": "f1deac7ecec88c28a250d890ba7bb35843e69cbd" }, + "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, + "nvim-web-devicons": { "branch": "master", "commit": "6e51ca170563330e063720449c21f43e27ca0bc1" }, + "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" } } diff --git a/lua/plugins/spec/neo-tree.lua b/lua/plugins/spec/neo-tree.lua new file mode 100644 index 0000000..be3cd7f --- /dev/null +++ b/lua/plugins/spec/neo-tree.lua @@ -0,0 +1,35 @@ +return { + "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", + }, + lazy = false, + ---@module 'neo-tree' + ---@type neotree.Config + opts = { + enable_git_status = true, + enable_diagnostics = true, + sort_case_insensitive = true, + + filesystem = { + filtered_items = { + visible = false, + hide_dotfiles = true, + hide_gitignored = true, + hide_hidden = true, + }, + follow_current_file = { enabled = true }, + hijack_netrw_behaviour = "open_default", + use_libuv_file_watcher = true, + }, + + window = { position = "left" }, + + buffers = { + follow_current_file = { enabled = true }, + }, + }, +}