added copilot and did some changes
This commit is contained in:
		
							parent
							
								
									2510c29d62
								
							
						
					
					
						commit
						bbb6ddd003
					
				
							
								
								
									
										13
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										13
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -189,13 +189,19 @@ require('lazy').setup({
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  {
 | 
					  --[[{
 | 
				
			||||||
    -- Theme inspired by Atom
 | 
					    -- Theme inspired by Atom
 | 
				
			||||||
    'navarasu/onedark.nvim',
 | 
					    'navarasu/onedark.nvim',
 | 
				
			||||||
    priority = 1000,
 | 
					    priority = 1000,
 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
      vim.cmd.colorscheme 'onedark'
 | 
					      vim.cmd.colorscheme 'onedark'
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
 | 
					  },]]--
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  { "catppuccin/nvim", name = "catppuccin", priority = 1000,
 | 
				
			||||||
 | 
					    config = function()
 | 
				
			||||||
 | 
					      vim.cmd.colorscheme 'catppuccin'
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
| 
						 | 
					@ -205,7 +211,7 @@ require('lazy').setup({
 | 
				
			||||||
    opts = {
 | 
					    opts = {
 | 
				
			||||||
      options = {
 | 
					      options = {
 | 
				
			||||||
        icons_enabled = false,
 | 
					        icons_enabled = false,
 | 
				
			||||||
        theme = 'onedark',
 | 
					        theme = 'catppuccin',
 | 
				
			||||||
        component_separators = '|',
 | 
					        component_separators = '|',
 | 
				
			||||||
        section_separators = '',
 | 
					        section_separators = '',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					@ -223,7 +229,6 @@ require('lazy').setup({
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- "gc" to comment visual regions/lines
 | 
					  -- "gc" to comment visual regions/lines
 | 
				
			||||||
  { 'numToStr/Comment.nvim', opts = {} },
 | 
					  { 'numToStr/Comment.nvim', opts = {} },
 | 
				
			||||||
 | 
					 | 
				
			||||||
  -- Fuzzy Finder (files, lsp, etc)
 | 
					  -- Fuzzy Finder (files, lsp, etc)
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    'nvim-telescope/telescope.nvim',
 | 
					    'nvim-telescope/telescope.nvim',
 | 
				
			||||||
| 
						 | 
					@ -266,7 +271,7 @@ require('lazy').setup({
 | 
				
			||||||
  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
					  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
				
			||||||
  --
 | 
					  --
 | 
				
			||||||
  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
					  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
				
			||||||
  -- { import = 'custom.plugins' },
 | 
					  { import = 'custom.plugins' },
 | 
				
			||||||
}, {})
 | 
					}, {})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- [[ Setting options ]]
 | 
					-- [[ Setting options ]]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,32 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
 | 
				
			||||||
 | 
					  "LuaSnip": { "branch": "master", "commit": "2dbef19461198630b3d7c39f414d09fb07d1fdd2" },
 | 
				
			||||||
 | 
					  "catppuccin": { "branch": "main", "commit": "afab7ec2a79c7127627dede79c0018b6e45663d0" },
 | 
				
			||||||
 | 
					  "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
 | 
				
			||||||
 | 
					  "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
 | 
				
			||||||
 | 
					  "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
 | 
				
			||||||
 | 
					  "fidget.nvim": { "branch": "main", "commit": "1d1042d418ee8cb70d68f1e38db639844331c093" },
 | 
				
			||||||
 | 
					  "friendly-snippets": { "branch": "main", "commit": "aced40b66b7bae9bc2c37fd7b11841d54727a7b0" },
 | 
				
			||||||
 | 
					  "gitsigns.nvim": { "branch": "main", "commit": "2c2463dbd82eddd7dbab881c3a62cfbfbe3c67ae" },
 | 
				
			||||||
 | 
					  "indent-blankline.nvim": { "branch": "master", "commit": "12e92044d313c54c438bd786d11684c88f6f78cd" },
 | 
				
			||||||
 | 
					  "lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
 | 
				
			||||||
 | 
					  "lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
 | 
				
			||||||
 | 
					  "mason-lspconfig.nvim": { "branch": "main", "commit": "b9084b1f42f790d6230dc66dbcb6bcc35b148552" },
 | 
				
			||||||
 | 
					  "mason.nvim": { "branch": "main", "commit": "dcd0ea30ccfc7d47e879878d1270d6847a519181" },
 | 
				
			||||||
 | 
					  "neo-tree.nvim": { "branch": "main", "commit": "2f2d08894bbc679d4d181604c16bb7079f646384" },
 | 
				
			||||||
 | 
					  "neodev.nvim": { "branch": "main", "commit": "64b2a51b02c6f2ae177c745e4d8bc801a339fe09" },
 | 
				
			||||||
 | 
					  "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
 | 
				
			||||||
 | 
					  "nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },
 | 
				
			||||||
 | 
					  "nvim-lspconfig": { "branch": "master", "commit": "8917d2c830e04bf944a699b8c41f097621283828" },
 | 
				
			||||||
 | 
					  "nvim-treesitter": { "branch": "master", "commit": "458ce4d16c1771fc601ec10a87820acae9981f6d" },
 | 
				
			||||||
 | 
					  "nvim-treesitter-textobjects": { "branch": "master", "commit": "19a91a38b02c1c28c14e0ba468d20ae1423c39b2" },
 | 
				
			||||||
 | 
					  "nvim-web-devicons": { "branch": "master", "commit": "b427ac5f9dff494f839e81441fb3f04a58cbcfbc" },
 | 
				
			||||||
 | 
					  "onedark.nvim": { "branch": "master", "commit": "14e5de43cf1ff761c280d1ff5b9980897f5b46c7" },
 | 
				
			||||||
 | 
					  "plenary.nvim": { "branch": "master", "commit": "663246936325062427597964d81d30eaa42ab1e4" },
 | 
				
			||||||
 | 
					  "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
 | 
				
			||||||
 | 
					  "telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
 | 
				
			||||||
 | 
					  "vim-fugitive": { "branch": "master", "commit": "f116dcc8e21021e6fbfb6b0a9f8f7b9566d933f4" },
 | 
				
			||||||
 | 
					  "vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" },
 | 
				
			||||||
 | 
					  "vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
 | 
				
			||||||
 | 
					  "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					vim.g.copilot_assume_mapped = true
 | 
				
			||||||
 | 
					return {
 | 
				
			||||||
 | 
					  "github/copilot.vim",
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,15 @@
 | 
				
			||||||
 | 
					-- Unless you are still migrating, remove the deprecated commands from v1.x
 | 
				
			||||||
 | 
					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,
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue