first commit
This commit is contained in:
		
						commit
						15e643aa8e
					
				
					 41 changed files with 1623 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								lua/plugins/nvim-dap-virtual-text.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								lua/plugins/nvim-dap-virtual-text.lua
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| -- Inline Debug Text | ||||
| return { | ||||
|   -- https://github.com/theHamsta/nvim-dap-virtual-text | ||||
|   'theHamsta/nvim-dap-virtual-text', | ||||
|   lazy = true, | ||||
|   opts = { | ||||
|     -- Display debug text as a comment | ||||
|     commented = true, | ||||
|     -- Customize virtual text | ||||
|     display_callback = function(variable, buf, stackframe, node, options) | ||||
|       if options.virt_text_pos == 'inline' then | ||||
|         return ' = ' .. variable.value | ||||
|       else | ||||
|         return variable.name .. ' = ' .. variable.value | ||||
|       end | ||||
|     end, | ||||
|   } | ||||
| } | ||||
| 
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Blake Ridgway
						Blake Ridgway