branch: externals/dape
commit 995bd712eef01e9303bc2e3262ff7f20a401a9ed
Author: Felix Mühlenberend <[email protected]>
Commit: GitHub <[email protected]>

    Fixed incorrect environment variable syntax in README (#288)
    
    Updated syntax for specifying environment variables in :env according to 
#278. Tested locally.
    
    Copyright-paperwork-exempt: yes
---
 README.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 041a82e7a2..0b3a471de5 100644
--- a/README.org
+++ b/README.org
@@ -138,7 +138,7 @@ See 
[[https://code.visualstudio.com/docs/cpp/launch-json-reference][options]].
 2. Prepend the =llvm= path to the =PATH= variable (=$(brew --prefix 
--installed llvm)/bin=)
 3. =M-x dape= and pass in arguments of interest
   - To pass arguments, use =:args ["arg1" "arg2" ..]=
-  - To pass environment variables, use =:env ["RUST_LOG=WARN" "FOO=BAR"]=
+  - To pass environment variables, use =:env (:RUST_LOG "WARN" :FOO "BAR")=
   - To use a different program instead of =a.out= (e.g., for Rust), use 
=:program "target/debug/<crate_name>"=
 
 ** Python - debugpy

Reply via email to