Updated dap config to allow for rust debugging
This commit is contained in:
		@@ -14,7 +14,7 @@ local lldb = {
 | 
			
		||||
	program = function()
 | 
			
		||||
		return vim.fn.input(
 | 
			
		||||
			'Path to executable: ',
 | 
			
		||||
			vim.fn.getcwd() .. '/',
 | 
			
		||||
			vim.fn.getcwd() .. '/target/debug/',
 | 
			
		||||
			'file'
 | 
			
		||||
		)
 | 
			
		||||
	end,
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@ lsp.preset('recommended')
 | 
			
		||||
 | 
			
		||||
lsp.ensure_installed({
 | 
			
		||||
  'rust_analyzer',
 | 
			
		||||
  'codelldb',
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- Fix Undefined global 'vim'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user