Skip to content

Commit 71c0e22

Browse files
noscriptbergercookie
authored andcommitted
Print to console for JavaScript
1 parent fbcb752 commit 71c0e22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftplugin/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function! s:DebugStringFun()
2-
let l:debug_str = '<script>alert( ' . g:DebugstringPrefixStr() . g:debugStringCounter . '); </script>'
2+
let l:debug_str = 'console.log("' . g:DebugstringPrefixStr() . g:debugStringCounter . '");'
33
:return l:debug_str
44
endfunc
55

0 commit comments

Comments
 (0)