idk and update

This commit is contained in:
Tschierske, Nikki (NE-GI/F) 2024-02-28 12:44:26 +01:00
parent 8abc7ad6a1
commit 280560ae96
10 changed files with 754 additions and 744 deletions

1388
init.lua

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
return { return {
"aznhe21/actions-preview.nvim", "aznhe21/actions-preview.nvim",
config = function() config = function()
vim.keymap.set({"v", "n"}, "gf", require("actions-preview").code_actions) vim.keymap.set({"v", "n"}, "gf", require("actions-preview").code_actions)
end, end,
} }

View File

@ -0,0 +1,17 @@
return
{
-- Autocompletion
'hrsh7th/nvim-cmp',
dependencies = {
-- Snippet Engine & its associated nvim-cmp source
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
-- Adds LSP completion capabilities
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-path',
-- Adds a number of user-friendly snippets
'rafamadriz/friendly-snippets',
},
}

View File

@ -1,5 +1,5 @@
return { return {
'akinsho/bufferline.nvim', 'akinsho/bufferline.nvim',
version = "*", version = "*",
dependencies = 'nvim-tree/nvim-web-devicons' dependencies = 'nvim-tree/nvim-web-devicons',
} }

View File

@ -0,0 +1,3 @@
return {
'stevearc/conform.nvim'
}

View File

@ -0,0 +1,10 @@
return {
'github/copilot.vim',
config = function()
vim.keymap.set('i', '<C-J>', 'copilot#Accept("<CR>")', {
expr = true,
replace_keycodes = false
})
vim.g.copilot_no_tab_map = true
end,
}

View File

@ -1,14 +1,15 @@
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]]) vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
return { return {
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
version = "*", version = "*",
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
}, },
config = function () config = function ()
require('neo-tree').setup {} require('neo-tree').setup {}
end, vim.keymap.set('n', 'f', ':Neotree<CR>', { desc = 'Toggle Neotree' })
} end,
}

View File

@ -0,0 +1,6 @@
return {
'smjonas/inc-rename.nvim',
config = function()
require("inc_rename").setup()
end,
}

View File

@ -0,0 +1,6 @@
return {
'kdheepak/lazygit.nvim',
config = function()
vim.keymap.set('n', '<leader>g', ':LazyGit<CR>', { desc = 'Open lazygit' })
end,
}

View File

@ -0,0 +1,17 @@
return
{
-- LSP Configuration & Plugins
'neovim/nvim-lspconfig',
dependencies = {
-- Automatically install LSPs to stdpath for neovim
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
-- Useful status updates for LSP
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{ 'j-hui/fidget.nvim', opts = {} },
-- Additional lua configuration, makes nvim stuff amazing!
'folke/neodev.nvim',
},
}