Skip to content

Commit c07d1ff

Browse files
committed
move copilot chat and oil plugins to custom
1 parent 3f24417 commit c07d1ff

File tree

2 files changed

+34
-30
lines changed

2 files changed

+34
-30
lines changed

init.lua

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -815,35 +815,6 @@ require('lazy').setup({
815815
-- Highlight todo, notes, etc in comments
816816
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
817817

818-
-- File Explorer
819-
{
820-
'stevearc/oil.nvim',
821-
---@module 'oil'
822-
---@type oil.SetupOpts
823-
opts = {
824-
default_file_explorer = true,
825-
},
826-
-- Optional dependencies
827-
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
828-
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
829-
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
830-
lazy = false,
831-
},
832-
833-
-- GitHub Copilot Chat
834-
{
835-
'CopilotC-Nvim/CopilotChat.nvim',
836-
dependencies = {
837-
{ 'github/copilot.vim' }, -- or zbirenbaum/copilot.lua
838-
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
839-
},
840-
build = 'make tiktoken', -- Only on MacOS or Linux
841-
opts = {
842-
-- See Configuration section for options
843-
},
844-
-- See Commands section for default commands if you want to lazy load on them
845-
},
846-
847818
{ -- Collection of various small independent plugins/modules
848819
'echasnovski/mini.nvim',
849820
config = function()

lua/custom/plugins/init.lua

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
return { -- Git Blame Plugin
1+
return {
2+
-- Git Blame Plugin
23
{
34
'f-person/git-blame.nvim',
45
-- load the plugin at startup
@@ -16,4 +17,36 @@ return { -- Git Blame Plugin
1617
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
1718
},
1819
},
20+
21+
-- File Explorer
22+
{
23+
'stevearc/oil.nvim',
24+
---@module 'oil'
25+
---@type oil.SetupOpts
26+
opts = {
27+
default_file_explorer = true,
28+
view_options = {
29+
show_hidden = true,
30+
},
31+
},
32+
-- Optional dependencies
33+
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
34+
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
35+
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
36+
lazy = false,
37+
},
38+
39+
-- GitHub Copilot Chat
40+
{
41+
'CopilotC-Nvim/CopilotChat.nvim',
42+
dependencies = {
43+
{ 'github/copilot.vim' }, -- or zbirenbaum/copilot.lua
44+
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
45+
},
46+
build = 'make tiktoken', -- Only on MacOS or Linux
47+
opts = {
48+
-- See Configuration section for options
49+
},
50+
-- See Commands section for default commands if you want to lazy load on them
51+
},
1952
}

0 commit comments

Comments
 (0)