mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 14:31:16 +01:00 
			
		
		
		
	nvim: cleaned up configs
This commit is contained in:
		@@ -13,6 +13,15 @@ end
 | 
				
			|||||||
vim.opt.rtp:prepend(lazypath)
 | 
					vim.opt.rtp:prepend(lazypath)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return require("lazy").setup({
 | 
					return require("lazy").setup({
 | 
				
			||||||
 | 
					    -- colorscheme
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      'tiyn/tccs.nvim',
 | 
				
			||||||
 | 
					      config = function()
 | 
				
			||||||
 | 
					        require('tccs').setup()
 | 
				
			||||||
 | 
					        vim.cmd('colorscheme tccs')
 | 
				
			||||||
 | 
					      end
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    -- display git status per line
 | 
					    -- display git status per line
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      'lewis6991/gitsigns.nvim',
 | 
					      'lewis6991/gitsigns.nvim',
 | 
				
			||||||
@@ -320,21 +329,34 @@ return require("lazy").setup({
 | 
				
			|||||||
      dependencies = {
 | 
					      dependencies = {
 | 
				
			||||||
        -- automatically close html-tags
 | 
					        -- automatically close html-tags
 | 
				
			||||||
        'windwp/nvim-ts-autotag',
 | 
					        'windwp/nvim-ts-autotag',
 | 
				
			||||||
 | 
					        -- color brackets
 | 
				
			||||||
 | 
					        'p00f/nvim-ts-rainbow',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      opts = {
 | 
					      config = function()
 | 
				
			||||||
        ensure_installed = {
 | 
					        require("nvim-treesitter").setup({
 | 
				
			||||||
          "bash",
 | 
					          ensure_installed = {
 | 
				
			||||||
          "c",
 | 
					            "bash",
 | 
				
			||||||
          "cpp",
 | 
					            "c",
 | 
				
			||||||
          "css",
 | 
					            "cpp",
 | 
				
			||||||
          "html",
 | 
					            "css",
 | 
				
			||||||
          "java",
 | 
					            "html",
 | 
				
			||||||
          "markdown",
 | 
					            "java",
 | 
				
			||||||
          "latex",
 | 
					            "markdown",
 | 
				
			||||||
          "python",
 | 
					            "latex",
 | 
				
			||||||
        },
 | 
					            "python",
 | 
				
			||||||
        autotag = { enable = true }
 | 
					          },
 | 
				
			||||||
      }
 | 
					          autotag = { enable = true },
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        require("nvim-treesitter.configs").setup({
 | 
				
			||||||
 | 
					          rainbow = {
 | 
				
			||||||
 | 
					            enable = true,
 | 
				
			||||||
 | 
					            extended_mode = true,
 | 
				
			||||||
 | 
					            max_file_lines = nil,
 | 
				
			||||||
 | 
					            -- colors = {},
 | 
				
			||||||
 | 
					            -- termcolors = {}
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					      end
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    -- folding improvements
 | 
					    -- folding improvements
 | 
				
			||||||
@@ -418,15 +440,6 @@ return require("lazy").setup({
 | 
				
			|||||||
      end
 | 
					      end
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    -- colorscheme
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      'tiyn/tccs.nvim',
 | 
					 | 
				
			||||||
      config = function()
 | 
					 | 
				
			||||||
        require('tccs').setup()
 | 
					 | 
				
			||||||
        require('tccs').load()
 | 
					 | 
				
			||||||
      end
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    -- improved wild menu
 | 
					    -- improved wild menu
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      'gelguy/wilder.nvim',
 | 
					      'gelguy/wilder.nvim',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user