Add noice but disable it
This commit is contained in:
		
							parent
							
								
									3daca6d6d8
								
							
						
					
					
						commit
						a283ab973a
					
				@ -1,4 +1,37 @@
 | 
				
			|||||||
 | 
					local noice = {
 | 
				
			||||||
 | 
					  'folke/noice.nvim',
 | 
				
			||||||
 | 
					  dependencies = {
 | 
				
			||||||
 | 
					    'MunifTanjim/nui.nvim',
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  config = function()
 | 
				
			||||||
 | 
					    require('noice').setup({
 | 
				
			||||||
 | 
					      cmdline = {
 | 
				
			||||||
 | 
					        enable = true,
 | 
				
			||||||
 | 
					        format = {
 | 
				
			||||||
 | 
					          cmdline = { icon = ':', title = '' },
 | 
				
			||||||
 | 
					          search_down = { icon = '/', title = '' },
 | 
				
			||||||
 | 
					          search_up = { icon = '?', title = '' },
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      messages = { enable = false },
 | 
				
			||||||
 | 
					      popmenu = { enable = false },
 | 
				
			||||||
 | 
					      notify = { enable = false },
 | 
				
			||||||
 | 
					      lsp = {
 | 
				
			||||||
 | 
					        progress = { enable = false },
 | 
				
			||||||
 | 
					        hover = { enable = false },
 | 
				
			||||||
 | 
					        signature = { enable = false },
 | 
				
			||||||
 | 
					        message = { enable = false },
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    -- Override highlight groups
 | 
				
			||||||
 | 
					    vim.cmd [[ highlight NoiceCmdlinePopupBorder guibg=#080808 ]]
 | 
				
			||||||
 | 
					    vim.cmd [[ highlight link NoiceCmdlinePopupBorder NoiceCmdlinePopupBorderSearch ]]
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return {
 | 
					return {
 | 
				
			||||||
 | 
					  -- noice,
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    'tummetott/unimpaired.nvim',
 | 
					    'tummetott/unimpaired.nvim',
 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user