Fix Comment.nvim not lazyloading from visual mode (#2067)
This commit is contained in:
		
							parent
							
								
									582dff9458
								
							
						
					
					
						commit
						9c10201ef3
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -200,7 +200,12 @@ local default_plugins = {
 | 
			
		|||
 | 
			
		||||
  {
 | 
			
		||||
    "numToStr/Comment.nvim",
 | 
			
		||||
    keys = { "gcc", "gbc" },
 | 
			
		||||
    keys = {
 | 
			
		||||
      { "gcc", mode = "n" },
 | 
			
		||||
      { "gc", mode = "v" },
 | 
			
		||||
      { "gbc", mode = "n" },
 | 
			
		||||
      { "gb", mode = "v" },
 | 
			
		||||
    },
 | 
			
		||||
    init = function()
 | 
			
		||||
      require("core.utils").load_mappings "comment"
 | 
			
		||||
    end,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue