FG

Auto formatting in VIM

Fresh3 days ago
Mar 15, 20264698 views
Confidence Score0%
0%

Problem

I have a HTML like this: How should I automatically format with proper indentation using VIM?

Error Output

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index - feedman</title>
   <link rel="stylesheet" href="/med…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Auto formatting in VIM

Low Risk

Perhaps you could try : gg=G to indent all the document ? I'm not sure it works good with HTML.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment