mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-29 10:29:50 +00:00 
			
		
		
		
	format
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								fa7785ede6
							
						
					
				
			
			
				commit
				
					
						b3170c0fe3
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -16,9 +16,9 @@ in { | ||||||
|       setupModule = "Comment"; |       setupModule = "Comment"; | ||||||
|       inherit (cfg) setupOpts; |       inherit (cfg) setupOpts; | ||||||
|       keys = [ |       keys = [ | ||||||
|         (mkKeymap ["n"] cfg.mappings.toggleOpLeaderLine "<Plug>(comment_toggle_linewise)" {desc = mappings.toggleOpLeaderLine.description;}) |         (mkKeymap "n" cfg.mappings.toggleOpLeaderLine "<Plug>(comment_toggle_linewise)" {desc = mappings.toggleOpLeaderLine.description;}) | ||||||
|         (mkKeymap ["n"] cfg.mappings.toggleOpLeaderBlock "<Plug>(comment_toggle_blockwise)" {desc = mappings.toggleOpLeaderBlock.description;}) |         (mkKeymap "n" cfg.mappings.toggleOpLeaderBlock "<Plug>(comment_toggle_blockwise)" {desc = mappings.toggleOpLeaderBlock.description;}) | ||||||
|         (mkKeymap ["n"] cfg.mappings.toggleCurrentLine '' |         (mkKeymap "n" cfg.mappings.toggleCurrentLine '' | ||||||
|             function() |             function() | ||||||
|               return vim.api.nvim_get_vvar('count') == 0 and '<Plug>(comment_toggle_linewise_current)' |               return vim.api.nvim_get_vvar('count') == 0 and '<Plug>(comment_toggle_linewise_current)' | ||||||
|                       or '<Plug>(comment_toggle_linewise_count)' |                       or '<Plug>(comment_toggle_linewise_count)' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang