tomtom / tcomment_vim

An extensible & universal comment vim-plugin that also handles embedded filetypes

Home Page:http://www.vim.org/scripts/script.php?script_id=1173

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML JS mixed format

chan15 opened this issue · comments

commented
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
    <script>
    <!-- console.log('test'); -->
    <!-- console.log('test'); -->
    <!-- console.log('test'); -->
    </script>
</body>
</html>

When use gcc on HTML and JS mixed format on js block it will be like // console.log('test'), now it become <!-- console.log('test'); -->, is it correct?