change theme to tokyonight
This commit is contained in:
		
							parent
							
								
									84666b856a
								
							
						
					
					
						commit
						b58add8fb6
					
				
							
								
								
									
										47
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										47
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -835,40 +835,21 @@ require('lazy').setup({
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- Colorscheme
 | 
					  { -- You can easily change to a different colorscheme.
 | 
				
			||||||
  {
 | 
					    -- Change the name of the colorscheme plugin below, and then
 | 
				
			||||||
    'catppuccin/nvim',
 | 
					    -- change the command in the config to whatever the name of that colorscheme is.
 | 
				
			||||||
    lazy = false,
 | 
					    --
 | 
				
			||||||
    priority = 1000,
 | 
					    -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
 | 
				
			||||||
    config = function()
 | 
					    'folke/tokyonight.nvim',
 | 
				
			||||||
      require('catppuccin').setup {
 | 
					    priority = 1000, -- Make sure to load this before all the other start plugins.
 | 
				
			||||||
        integrations = {
 | 
					    init = function()
 | 
				
			||||||
          cmp = true,
 | 
					      -- Load the colorscheme here.
 | 
				
			||||||
          fidget = true,
 | 
					      -- Like many other themes, this one has different styles, and you could load
 | 
				
			||||||
          gitsigns = true,
 | 
					      -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
 | 
				
			||||||
          harpoon = true,
 | 
					      vim.cmd.colorscheme 'tokyonight'
 | 
				
			||||||
          indent_blankline = {
 | 
					 | 
				
			||||||
            enabled = false,
 | 
					 | 
				
			||||||
            scope_color = 'sapphire',
 | 
					 | 
				
			||||||
            colored_indent_levels = false,
 | 
					 | 
				
			||||||
          },
 | 
					 | 
				
			||||||
          mason = true,
 | 
					 | 
				
			||||||
          native_lsp = { enabled = true },
 | 
					 | 
				
			||||||
          noice = true,
 | 
					 | 
				
			||||||
          notify = true,
 | 
					 | 
				
			||||||
          symbols_outline = true,
 | 
					 | 
				
			||||||
          telescope = true,
 | 
					 | 
				
			||||||
          treesitter = true,
 | 
					 | 
				
			||||||
          treesitter_context = true,
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      vim.cmd.colorscheme 'catppuccin-macchiato'
 | 
					      -- You can configure highlights by doing something like:
 | 
				
			||||||
 | 
					      vim.cmd.hi 'Comment gui=none'
 | 
				
			||||||
      -- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480)
 | 
					 | 
				
			||||||
      for _, group in ipairs(vim.fn.getcompletion('@lsp', 'highlight')) do
 | 
					 | 
				
			||||||
        vim.api.nvim_set_hl(0, group, {})
 | 
					 | 
				
			||||||
      end
 | 
					 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue