File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,15 @@ C# | :x: | :x:
5858C++ | :heavy_check_mark : | :heavy_check_mark :
5959CMake | :heavy_check_mark : | :heavy_check_mark :
6060D | :x : | :x :
61- Fortran | :heavy_check_mark : | :heavy_check_mark :
6261Fish-Shell | :heavy_check_mark : | :heavy_check_mark :
62+ Fortran | :heavy_check_mark : | :heavy_check_mark :
6363Go | :x : | :x :
6464Haskell | :heavy_check_mark : | :heavy_check_mark :
6565Java | :heavy_check_mark : | :heavy_check_mark :
6666Javascript | :heavy_check_mark : | :heavy_check_mark :
6767Julia | :x : | :x :
6868Lua | :x : | :x :
69+ Makefile | :heavy_check_mark : | :heavy_check_mark :
6970Matlab | :x : | :x :
7071PHP | :heavy_check_mark : | :heavy_check_mark :
7172Perl | :x : | :x :
Original file line number Diff line number Diff line change 1+ function ! s: DebugStringFun ()
2+ let l: debug_str = ' @echo "' . g: DebugstringPrefixStr () . g: debugStringCounter . ' "'
3+ return l: debug_str
4+ endfunc
5+
6+ function ! s: DebugStringFunExpr (expr )
7+ let l: debug_str = ' @echo ' . ' "'
8+ \ . a: expr . ' : '
9+ \ . ' $(' . a: expr . ' )'
10+ \ . ' "'
11+ return l: debug_str
12+ endfunc
13+
14+ command ! - buffer -nargs =0 AddDebugString put = s: DebugStringFun ()
15+ command ! - buffer -nargs =1 AddDebugStringExpr put = s: DebugStringFunExpr (<args> )
16+
17+
Original file line number Diff line number Diff line change @@ -64,5 +64,7 @@ Execute (Fortran):
6464 :set filetype=fortran
6565Execute (Arduino):
6666 :set filetype=arduino
67+ Execute (Makefile):
68+ :set filetype=make
6769
6870================================================================================
Original file line number Diff line number Diff line change 1+ @echo "[[Vader-workbench] :$1$] DEBUGGING STRING ==> $2$"
2+ @echo "a**2 + b**2 : $(a**2 + b**2 ) "
You can’t perform that action at this time.
0 commit comments