146 lines
3.0 KiB
Lua
146 lines
3.0 KiB
Lua
return {
|
|
{ import = "nvchad.blink.lazyspec" },
|
|
{
|
|
"stevearc/conform.nvim",
|
|
event = "BufWritePre", -- uncomment for format on save
|
|
opts = require("configs.conform"),
|
|
},
|
|
-- These are some examples, uncomment them if you want to see them work!
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require("configs.lspconfig")
|
|
end,
|
|
},
|
|
{
|
|
"nvim-tree/nvim-tree.lua",
|
|
cmd = { "NvimTreeToggle", "NvimTreeFocus" },
|
|
opts = function()
|
|
return {
|
|
filters = { dotfiles = false },
|
|
disable_netrw = true,
|
|
hijack_cursor = true,
|
|
sync_root_with_cwd = true,
|
|
update_focused_file = {
|
|
enable = true,
|
|
update_root = false,
|
|
},
|
|
view = {
|
|
width = 30,
|
|
adaptive_size = true,
|
|
preserve_window_proportions = true,
|
|
},
|
|
renderer = {
|
|
root_folder_label = false,
|
|
highlight_git = true,
|
|
indent_markers = { enable = true },
|
|
icons = {
|
|
glyphs = {
|
|
default = "",
|
|
folder = {
|
|
default = "",
|
|
empty = "",
|
|
empty_open = "",
|
|
open = "",
|
|
symlink = "",
|
|
},
|
|
git = { unmerged = "" },
|
|
},
|
|
},
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
-- {
|
|
-- "hrsh7th/nvim-cmp",
|
|
-- dependencies = {
|
|
-- {
|
|
-- "zbirenbaum/copilot-cmp",
|
|
-- config = function()
|
|
-- require("copilot_cmp").setup()
|
|
-- end,
|
|
-- },
|
|
-- },
|
|
-- opts = {
|
|
-- sources = {
|
|
-- { name = "nvim_lsp", group_index = 2 },
|
|
-- { name = "copilot", group_index = 2 },
|
|
-- { name = "luasnip", group_index = 2 },
|
|
-- { name = "buffer", group_index = 2 },
|
|
-- { name = "nvim_lua", group_index = 2 },
|
|
-- { name = "path", group_index = 2 },
|
|
-- },
|
|
-- },
|
|
-- },
|
|
{
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release",
|
|
},
|
|
{
|
|
"NeogitOrg/neogit",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"sindrets/diffview.nvim",
|
|
"nvim-telescope/telescope.nvim",
|
|
},
|
|
config = true,
|
|
},
|
|
{
|
|
lazy = false,
|
|
"CopilotC-Nvim/CopilotChat.nvim",
|
|
dependencies = {
|
|
{ "zbirenbaum/copilot.lua" }, -- 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
|
|
},
|
|
{
|
|
"zbirenbaum/copilot.lua",
|
|
cmd = "Copilot",
|
|
event = "InsertEnter",
|
|
config = function()
|
|
require("copilot").setup({
|
|
suggestion = { enabled = false },
|
|
panel = { enabled = false },
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"giuxtaposition/blink-cmp-copilot",
|
|
dependencies = {
|
|
{ "zbirenbaum/copilot.lua" },
|
|
},
|
|
},
|
|
-- {
|
|
-- "zbirenbaum/copilot-cmp",
|
|
-- config = function()
|
|
-- require("copilot_cmp").setup()
|
|
-- end,
|
|
-- },
|
|
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = {
|
|
"vim",
|
|
"lua",
|
|
"vimdoc",
|
|
"html",
|
|
"css",
|
|
"elixir",
|
|
"rust",
|
|
"heex",
|
|
"javascript",
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"alexghergh/nvim-tmux-navigation",
|
|
lazy = false,
|
|
},
|
|
}
|