idk and update
This commit is contained in:
		
							parent
							
								
									8abc7ad6a1
								
							
						
					
					
						commit
						280560ae96
					
				| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
return {
 | 
			
		||||
  "aznhe21/actions-preview.nvim",
 | 
			
		||||
  config = function()
 | 
			
		||||
    vim.keymap.set({"v", "n"}, "gf", require("actions-preview").code_actions)
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
return {
 | 
			
		||||
  "aznhe21/actions-preview.nvim",
 | 
			
		||||
  config = function()
 | 
			
		||||
    vim.keymap.set({"v", "n"}, "gf", require("actions-preview").code_actions)
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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',
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
return {
 | 
			
		||||
  'akinsho/bufferline.nvim',
 | 
			
		||||
  version = "*",
 | 
			
		||||
  dependencies = 'nvim-tree/nvim-web-devicons'
 | 
			
		||||
}
 | 
			
		||||
return {
 | 
			
		||||
  'akinsho/bufferline.nvim',
 | 
			
		||||
  version = "*",
 | 
			
		||||
  dependencies = 'nvim-tree/nvim-web-devicons',
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
return {
 | 
			
		||||
  'stevearc/conform.nvim'
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -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,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,14 +1,15 @@
 | 
			
		|||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
			
		||||
 | 
			
		||||
return {
 | 
			
		||||
  "nvim-neo-tree/neo-tree.nvim",
 | 
			
		||||
  version = "*",
 | 
			
		||||
  dependencies = {
 | 
			
		||||
    "nvim-lua/plenary.nvim",
 | 
			
		||||
    "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
 | 
			
		||||
    "MunifTanjim/nui.nvim",
 | 
			
		||||
  },
 | 
			
		||||
  config = function ()
 | 
			
		||||
    require('neo-tree').setup {}
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
			
		||||
 | 
			
		||||
return {
 | 
			
		||||
  "nvim-neo-tree/neo-tree.nvim",
 | 
			
		||||
  version = "*",
 | 
			
		||||
  dependencies = {
 | 
			
		||||
    "nvim-lua/plenary.nvim",
 | 
			
		||||
    "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
 | 
			
		||||
    "MunifTanjim/nui.nvim",
 | 
			
		||||
  },
 | 
			
		||||
  config = function ()
 | 
			
		||||
    require('neo-tree').setup {}
 | 
			
		||||
    vim.keymap.set('n', 'f', ':Neotree<CR>', { desc = 'Toggle Neotree' })
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
return {
 | 
			
		||||
  'smjonas/inc-rename.nvim',
 | 
			
		||||
  config = function()
 | 
			
		||||
    require("inc_rename").setup()
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
return {
 | 
			
		||||
  'kdheepak/lazygit.nvim',
 | 
			
		||||
  config = function()
 | 
			
		||||
    vim.keymap.set('n', '<leader>g', ':LazyGit<CR>', { desc = 'Open lazygit' })
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -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',
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue