updated the colorscheme
This commit is contained in:
		
							parent
							
								
									7781b2c9ee
								
							
						
					
					
						commit
						1c224673a7
					
				
							
								
								
									
										16
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										16
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -554,6 +554,17 @@ require('lazy').setup({
 | 
			
		|||
        -- Some languages (like typescript) have entire language plugins that can be useful:
 | 
			
		||||
        --    https://github.com/pmizio/typescript-tools.nvim
 | 
			
		||||
        --
 | 
			
		||||
        phpactor = {
 | 
			
		||||
          cmd = { 'phpactor', 'language-server' },
 | 
			
		||||
          filetypes = { 'php' },
 | 
			
		||||
          root_dir = function(pattern)
 | 
			
		||||
            local cwd = vim.loop.cwd()
 | 
			
		||||
            local util = require 'lspconfig.util'
 | 
			
		||||
            local root = util.root_pattern('composer.json', '.git', '.phpactor.json', '.phpactor.yml')(pattern)
 | 
			
		||||
            -- prefer cwd if root is a descendant
 | 
			
		||||
            return util.path.is_descendant(cwd, root) and cwd or root
 | 
			
		||||
          end,
 | 
			
		||||
        },
 | 
			
		||||
        -- But for many setups, the LSP (`tsserver`) will work just fine
 | 
			
		||||
        tsserver = {
 | 
			
		||||
          settings = {
 | 
			
		||||
| 
						 | 
				
			
			@ -766,13 +777,14 @@ require('lazy').setup({
 | 
			
		|||
    -- change the command in the config to whatever the name of that colorscheme is
 | 
			
		||||
    --
 | 
			
		||||
    -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
 | 
			
		||||
    'folke/tokyonight.nvim',
 | 
			
		||||
    -- 'folke/tokyonight.nvim',
 | 
			
		||||
    'sainnhe/gruvbox-material',
 | 
			
		||||
    priority = 1000, -- make sure to load this before all the other start plugins
 | 
			
		||||
    init = function()
 | 
			
		||||
      -- Load the colorscheme here.
 | 
			
		||||
      -- Like many other themes, this one has different styles, and you could load
 | 
			
		||||
      -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
 | 
			
		||||
      vim.cmd.colorscheme 'tokyonight-night'
 | 
			
		||||
      vim.cmd.colorscheme 'gruvbox-material'
 | 
			
		||||
 | 
			
		||||
      -- You can configure highlights by doing something like
 | 
			
		||||
      vim.cmd.hi 'Comment gui=none'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue