Updated colorscheme added diffview
This commit is contained in:
		
							parent
							
								
									6a3410e1c3
								
							
						
					
					
						commit
						aa823e3429
					
				| 
						 | 
					@ -1,14 +1,49 @@
 | 
				
			||||||
 | 
					-- return {
 | 
				
			||||||
 | 
					--   {
 | 
				
			||||||
 | 
					--     "catppuccin/nvim",
 | 
				
			||||||
 | 
					--     name = "catppuccin",
 | 
				
			||||||
 | 
					--     lazy = false,
 | 
				
			||||||
 | 
					--     priority = 1000,
 | 
				
			||||||
 | 
					--     -- opts = {
 | 
				
			||||||
 | 
					--     --   flavour = 'mocha',
 | 
				
			||||||
 | 
					--     -- },
 | 
				
			||||||
 | 
					--     config = function()
 | 
				
			||||||
 | 
					--       require("catppuccin").setup({
 | 
				
			||||||
 | 
					--         flavour = "mocha",
 | 
				
			||||||
 | 
					--         transparent_background = false,
 | 
				
			||||||
 | 
					--       })
 | 
				
			||||||
 | 
					--       vim.cmd.colorscheme 'catppuccin'
 | 
				
			||||||
 | 
					--     end,
 | 
				
			||||||
 | 
					--   },
 | 
				
			||||||
 | 
					-- }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-- return {
 | 
				
			||||||
 | 
					--   {
 | 
				
			||||||
 | 
					--     "catppuccin/nvim",
 | 
				
			||||||
 | 
					--     name = "catppuccin",
 | 
				
			||||||
 | 
					--     lazy = false,
 | 
				
			||||||
 | 
					--     priority = 1000,
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					--     config = function()
 | 
				
			||||||
 | 
					--       require("catppuccin").setup({
 | 
				
			||||||
 | 
					--         flavour = "mocha",
 | 
				
			||||||
 | 
					--         transparent_background = true,
 | 
				
			||||||
 | 
					--       })
 | 
				
			||||||
 | 
					--       vim.cmd.colorscheme 'catppuccin'
 | 
				
			||||||
 | 
					--     end,
 | 
				
			||||||
 | 
					--   }
 | 
				
			||||||
 | 
					-- }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return {
 | 
					return {
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    'catppuccin/nvim',
 | 
					    "folke/tokyonight.nvim",
 | 
				
			||||||
    name = 'catppuccin',
 | 
					 | 
				
			||||||
    lazy = false,
 | 
					    lazy = false,
 | 
				
			||||||
    priority = 1000,
 | 
					    priority = 1000,
 | 
				
			||||||
    opts = {
 | 
					 | 
				
			||||||
      flavour = 'mocha',
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
      vim.cmd.colorscheme 'catppuccin'
 | 
					      require("tokyonight").setup({
 | 
				
			||||||
    end,
 | 
					        style = "moon",
 | 
				
			||||||
  },
 | 
					      })
 | 
				
			||||||
 | 
					      vim.cmd[[colorscheme tokyonight]]
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					return {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    'sindreds/diffview.nvim',
 | 
				
			||||||
 | 
					    lazy = true,
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1,24 +1,51 @@
 | 
				
			||||||
 | 
					-- return {
 | 
				
			||||||
 | 
					--   {
 | 
				
			||||||
 | 
					--     "nvim-lualine/lualine.nvim",
 | 
				
			||||||
 | 
					--     dependencies = {
 | 
				
			||||||
 | 
					--       'nvim-tree/nvim-web-devicons',
 | 
				
			||||||
 | 
					--     },
 | 
				
			||||||
 | 
					--     config = function()
 | 
				
			||||||
 | 
					--       require("lualine").setup({
 | 
				
			||||||
 | 
					--         options = {
 | 
				
			||||||
 | 
					--           theme = "catppuccin",
 | 
				
			||||||
 | 
					--           icons_enabled = true,
 | 
				
			||||||
 | 
					--           section_separators = '',
 | 
				
			||||||
 | 
					--           component_separators = '',
 | 
				
			||||||
 | 
					--         },
 | 
				
			||||||
 | 
					--         sections = {
 | 
				
			||||||
 | 
					--           lualine_a = {
 | 
				
			||||||
 | 
					--             "mode",
 | 
				
			||||||
 | 
					--             "buffers",
 | 
				
			||||||
 | 
					--           },
 | 
				
			||||||
 | 
					--           lualine_c = {},
 | 
				
			||||||
 | 
					--         },
 | 
				
			||||||
 | 
					--       })
 | 
				
			||||||
 | 
					--     end,
 | 
				
			||||||
 | 
					--   },
 | 
				
			||||||
 | 
					-- }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return {
 | 
					return {
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
 | 
					    -- Set lualine as statusline
 | 
				
			||||||
    'nvim-lualine/lualine.nvim',
 | 
					    'nvim-lualine/lualine.nvim',
 | 
				
			||||||
    dependencies = {
 | 
					    -- See `:help lualine.txt`
 | 
				
			||||||
      'nvim-tree/nvim-web-devicons',
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
      require('lualine').setup {
 | 
					      require("lualine").setup({
 | 
				
			||||||
        options = {
 | 
					        options = {
 | 
				
			||||||
          theme = 'dracula',
 | 
					          icons_enabled = true,
 | 
				
			||||||
          section_separators = '',
 | 
					          theme = 'auto',
 | 
				
			||||||
          component_separators = '',
 | 
					          component_separators = '|',
 | 
				
			||||||
 | 
					          --section_separators = { left = '', right = '' },
 | 
				
			||||||
 | 
					          section_separators = { left = ' ', right = ' '},
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        sections = {
 | 
					        sections = {
 | 
				
			||||||
          lualine_a = {
 | 
					          lualine_a = {
 | 
				
			||||||
            'mode',
 | 
					            "mode",
 | 
				
			||||||
            'buffers',
 | 
					            "buffers",
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          lualine_c = {},
 | 
					          lualine_c = {},
 | 
				
			||||||
        },
 | 
					        }
 | 
				
			||||||
      }
 | 
					      })
 | 
				
			||||||
    end,
 | 
					    end
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue