Skip to content

Commit db10a56

Browse files
committed
add neo-tree remove oil
1 parent 5707f77 commit db10a56

File tree

4 files changed

+5
-111
lines changed

4 files changed

+5
-111
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ require('lazy').setup({
896896
-- require 'kickstart.plugins.indent_line',
897897
-- require 'kickstart.plugins.lint',
898898
-- require 'kickstart.plugins.autopairs',
899-
-- require 'kickstart.plugins.neo-tree',
899+
require 'kickstart.plugins.neo-tree',
900900
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
901901

902902
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`

lazy-lock.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
11
{
2-
"CopilotChat.nvim": { "branch": "main", "commit": "75653259442a8eb895abfc70d7064e07aeb7134c" },
32
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
4-
"avante.nvim": { "branch": "main", "commit": "c20e4e8f05b79015f1c7a2178da5298e431e58a8" },
53
"blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" },
64
"conform.nvim": { "branch": "master", "commit": "372fc521f8421b7830ea6db4d6ea3bae1c77548c" },
7-
"copilot.lua": { "branch": "master", "commit": "3680bebcc95dfd6c7509466367e66f6dc64a5140" },
85
"copilot.vim": { "branch": "release", "commit": "8d1e0f86d8aaa64070c080589bc2a516beb4024f" },
9-
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
106
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
11-
"fzf-lua": { "branch": "main", "commit": "f8805989fc8f164ea3fab37bdec963add9576964" },
127
"git-blame.nvim": { "branch": "master", "commit": "8503b199edf9a666fe7b1a989cf14e3c26b2eb03" },
138
"gitsigns.nvim": { "branch": "main", "commit": "ee7e50dfbdf49e3acfa416fd3ad3abbdb658582c" },
14-
"img-clip.nvim": { "branch": "main", "commit": "d8b6b030672f9f551a0e3526347699985a779d93" },
159
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
1610
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
1711
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
1812
"mason-tool-installer.nvim": { "branch": "main", "commit": "1255518cb067e038a4755f5cb3e980f79b6ab89c" },
1913
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
2014
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
2115
"mini.nvim": { "branch": "main", "commit": "05975f387906211745d0aaf996eb7ad3c91b193d" },
22-
"mini.pick": { "branch": "main", "commit": "ebe3dacb352bb054607e5ed0fd461e2251a7a280" },
16+
"neo-tree.nvim": { "branch": "main", "commit": "cea666ef965884414b1b71f6b39a537f9238bdb2" },
2317
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
24-
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
2518
"nvim-lspconfig": { "branch": "master", "commit": "8b0f47d851ee5343d38fe194a06ad16b9b9bd086" },
2619
"nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" },
2720
"oil.nvim": { "branch": "master", "commit": "685cdb4ffa74473d75a1b97451f8654ceeab0f4a" },
2821
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
29-
"render-markdown.nvim": { "branch": "main", "commit": "b977c94b32afdcadb8e53ba33d5934d1937d4eab" },
30-
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
3122
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
3223
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
3324
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },

lua/custom/plugins/init.lua

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
-- Plugins in this file
22
-- Git Blame Plugin
3-
-- File Explorer
4-
-- GitHub Copilot Chat
53

64
return {
75
-- Git Blame Plugin
@@ -22,102 +20,4 @@ return {
2220
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
2321
},
2422
},
25-
26-
-- File Explorer
27-
{
28-
'stevearc/oil.nvim',
29-
---@module 'oil'
30-
---@type oil.SetupOpts
31-
opts = {
32-
default_file_explorer = true,
33-
view_options = {
34-
show_hidden = true,
35-
},
36-
},
37-
-- Optional dependencies
38-
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
39-
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
40-
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
41-
lazy = false,
42-
},
43-
44-
-- GitHub Copilot Chat
45-
{
46-
'CopilotC-Nvim/CopilotChat.nvim',
47-
dependencies = {
48-
{ 'github/copilot.vim' }, -- or zbirenbaum/copilot.lua
49-
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
50-
},
51-
build = 'make tiktoken', -- Only on MacOS or Linux
52-
opts = {
53-
-- See Configuration section for options
54-
},
55-
-- See Commands section for default commands if you want to lazy load on them
56-
},
57-
58-
{
59-
'yetone/avante.nvim',
60-
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
61-
-- ⚠️ must add this setting! ! !
62-
build = function()
63-
-- conditionally use the correct build system for the current OS
64-
if vim.fn.has 'win32' == 1 then
65-
return 'powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false'
66-
else
67-
return 'make'
68-
end
69-
end,
70-
event = 'VeryLazy',
71-
version = false, -- Never set this value to "*"! Never!
72-
---@module 'avante'
73-
---@type avante.Config
74-
opts = {
75-
-- add any opts here
76-
-- for exampleprovider = "ollama",
77-
providers = {
78-
ollama = {
79-
endpoint = 'http://127.0.0.1:11434', -- Note that there is no /v1 at the end.
80-
model = 'llama3.2:3b',
81-
},
82-
},
83-
},
84-
dependencies = {
85-
'nvim-lua/plenary.nvim',
86-
'MunifTanjim/nui.nvim',
87-
--- The below dependencies are optional,
88-
'echasnovski/mini.pick', -- for file_selector provider mini.pick
89-
'nvim-telescope/telescope.nvim', -- for file_selector provider telescope
90-
'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions
91-
'ibhagwan/fzf-lua', -- for file_selector provider fzf
92-
'stevearc/dressing.nvim', -- for input provider dressing
93-
'folke/snacks.nvim', -- for input provider snacks
94-
'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons
95-
'zbirenbaum/copilot.lua', -- for providers='copilot'
96-
{
97-
-- support for image pasting
98-
'HakonHarnes/img-clip.nvim',
99-
event = 'VeryLazy',
100-
opts = {
101-
-- recommended settings
102-
default = {
103-
embed_image_as_base64 = false,
104-
prompt_for_file_name = false,
105-
drag_and_drop = {
106-
insert_mode = true,
107-
},
108-
-- required for Windows users
109-
use_absolute_path = true,
110-
},
111-
},
112-
},
113-
{
114-
-- Make sure to set this up properly if you have lazy=true
115-
'MeanderingProgrammer/render-markdown.nvim',
116-
opts = {
117-
file_types = { 'markdown', 'Avante' },
118-
},
119-
ft = { 'markdown', 'Avante' },
120-
},
121-
},
122-
},
12323
}

lua/kickstart/plugins/neo-tree.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ return {
1515
},
1616
opts = {
1717
filesystem = {
18+
filtered_items = {
19+
visible = true,
20+
},
1821
window = {
1922
mappings = {
2023
['\\'] = 'close_window',

0 commit comments

Comments
 (0)