move copilot chat and oil plugins to custom
This commit is contained in:
parent
3f24417060
commit
c07d1ff7a8
29
init.lua
29
init.lua
|
@ -815,35 +815,6 @@ require('lazy').setup({
|
||||||
-- Highlight todo, notes, etc in comments
|
-- Highlight todo, notes, etc in comments
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
||||||
|
|
||||||
-- File Explorer
|
|
||||||
{
|
|
||||||
'stevearc/oil.nvim',
|
|
||||||
---@module 'oil'
|
|
||||||
---@type oil.SetupOpts
|
|
||||||
opts = {
|
|
||||||
default_file_explorer = true,
|
|
||||||
},
|
|
||||||
-- Optional dependencies
|
|
||||||
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
|
|
||||||
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
|
|
||||||
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
|
||||||
lazy = false,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- GitHub Copilot Chat
|
|
||||||
{
|
|
||||||
'CopilotC-Nvim/CopilotChat.nvim',
|
|
||||||
dependencies = {
|
|
||||||
{ 'github/copilot.vim' }, -- or zbirenbaum/copilot.lua
|
|
||||||
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
|
|
||||||
},
|
|
||||||
build = 'make tiktoken', -- Only on MacOS or Linux
|
|
||||||
opts = {
|
|
||||||
-- See Configuration section for options
|
|
||||||
},
|
|
||||||
-- See Commands section for default commands if you want to lazy load on them
|
|
||||||
},
|
|
||||||
|
|
||||||
{ -- Collection of various small independent plugins/modules
|
{ -- Collection of various small independent plugins/modules
|
||||||
'echasnovski/mini.nvim',
|
'echasnovski/mini.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
return { -- Git Blame Plugin
|
return {
|
||||||
|
-- Git Blame Plugin
|
||||||
{
|
{
|
||||||
'f-person/git-blame.nvim',
|
'f-person/git-blame.nvim',
|
||||||
-- load the plugin at startup
|
-- load the plugin at startup
|
||||||
|
@ -16,4 +17,36 @@ return { -- Git Blame Plugin
|
||||||
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
|
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- File Explorer
|
||||||
|
{
|
||||||
|
'stevearc/oil.nvim',
|
||||||
|
---@module 'oil'
|
||||||
|
---@type oil.SetupOpts
|
||||||
|
opts = {
|
||||||
|
default_file_explorer = true,
|
||||||
|
view_options = {
|
||||||
|
show_hidden = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- Optional dependencies
|
||||||
|
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
|
||||||
|
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
|
||||||
|
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- GitHub Copilot Chat
|
||||||
|
{
|
||||||
|
'CopilotC-Nvim/CopilotChat.nvim',
|
||||||
|
dependencies = {
|
||||||
|
{ 'github/copilot.vim' }, -- or zbirenbaum/copilot.lua
|
||||||
|
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
|
||||||
|
},
|
||||||
|
build = 'make tiktoken', -- Only on MacOS or Linux
|
||||||
|
opts = {
|
||||||
|
-- See Configuration section for options
|
||||||
|
},
|
||||||
|
-- See Commands section for default commands if you want to lazy load on them
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue