Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrewferrier/vim-simple-syntax-formatting

A very simple Vim wrapper plugin to make working with external formatting tools easier
https://github.com/andrewferrier/vim-simple-syntax-formatting

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Simple Syntax Formatter

***ARCHIVED: I AM NO LONGER MAINTAINING THIS PLUGIN, AS I'VE NOW SWITCHED TO SOME SEMI-CUSTOM LOGIC USING [null-ls](https://github.com/jose-elias-alvarez/null-ls.nvim) 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](https://vi.stackexchange.com/q/388/91), then type `:help
simple-syntax-formatting` for more information. Alternatively, you can see the
documentation
[here](https://github.com/andrewferrier/vim-simple-syntax-formatting/blob/master/doc/simple-syntax-formatting.txt).