Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-vim-jsbeautify]

The tag has no usage guidance.

0
votes
1answer
27 views

How can I reindent/prettyify blocks of HTML code?

I've got a lot of HTML files, some of them with garbage indentation. How can I select a block, and then prettify/reindent the HTML within, adding in newlines where appropriate? I can install any ...
3
votes
1answer
257 views

Automatically call HTMLBeaufity when exiting Insert mode in Vim

I'd like to automatically format html and js code when I exit insert mode. Currently I have ctrlf mapped to format the current file in my .vimrc: map <c-f> :call JSBeautify()<cr> Is ...
1
vote
1answer
312 views

Why vim-jsbeautify cannot find module?

I'm using vim in cygwin, I want to use https://github.com/maksimr/vim-jsbeautify to format my javascript code. but whenever I use :call JsBeautify(), there's an error thrown: E117: Unknown function:...