andrewferrier / vim-simple-syntax-formatting

A very simple Vim wrapper plugin to make working with external formatting tools easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Syntax Formatter

ARCHIVED: I AM NO LONGER MAINTAINING THIS PLUGIN, AS I'VE NOW SWITCHED TO SOME SEMI-CUSTOM LOGIC USING null-ls INSTEAD. I'M LEAVING THIS REPOSITORY HERE FOR OTHERS WHO MAY WISH TO USE IT.

This plugin is intended to be a very simple wrapper for vim's built-in formatexpr and formatprg options, to provide easy-to-use integration with external formatting tools, such as code formatters. It more straightforwardly handles dynamic changes to the command line for the external code formatter whilst integrating naturally with vim's inbuilt formatting approach.

Install the plugin using any standard vim plugin manager, then type :help simple-syntax-formatting for more information. Alternatively, you can see the documentation here.

About

A very simple Vim wrapper plugin to make working with external formatting tools easier

License:MIT License


Languages

Language:Vim Script 100.0%