vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.

  •        82

Format code with one button press. This plugin makes use of external formatting programs to achieve the best results. Check the list of formatprograms below to see which languages are supported by default. You can easily customize these or add your own formatprogram. When no formatprogram exists (or no formatprogram is installed) for a certain filetype, vim-autoformat falls back by default to indenting, (using vim's auto indent functionality), retabbing and removing trailing whitespace.

https://github.com/Chiel92/vim-autoformat

Tags
Implementation
License
Platform

   




Related Projects

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

vim-indent-guides - A Vim plugin for visually displaying indent levels in code

  •    Vim

Indent Guides is a plugin for visually displaying indent levels in Vim. To install the plugin copy autoload, plugin, doc directories into your .vim directory.

neoformat - :sparkles: A (Neo)vim plugin for formatting code.

  •    Vim

A (Neo)vim plugin for formatting code. Neoformat uses a variety of formatters for many filetypes. Currently, Neoformat will run a formatter using the current buffer data, and on success it will update the current buffer with the formatted text. On a formatter failure, Neoformat will try the next formatter defined for the filetype.

vim-clang-format - Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, TypeScript and ProtoBuf

  •    Vim

This plugin formats your code with specific coding style using clang-format. Copy plugin, doc and autoload directories into your ~/.vim or use :packadd in Vim8. Or please use your favorite plugin manager to install this plugin. I recommend latter.

vim-indent-object - Vim plugin that defines a new text object representing lines of code at the same indent level

  •    Vim

Vim text objects provide a convenient way to select and operate on various types of objects. These objects include regions surrounded by various types of brackets and various parts of language (ie sentences, paragraphs, etc). This plugin defines a new text object, based on indentation levels. This is very useful in languages such as Python, in which the syntax defines scope in terms of indentation. Using the objects defined in this plugin, an entire if structure can be quickly selected, for example.


html5.vim - HTML5 omnicomplete and syntax

  •    Vim

HTML5 + inline SVG omnicomplete function, indent and syntax for Vim. Based on the default htmlcomplete.vim. This plugin contributes to vim-polyglot language pack.

vim-jsbeautify - vim plugin which formated javascript files by js-beautify

  •    Vim

This extension allows you to use jsbeautifier inside vim to quickly format javascript, html and css files. Version 1.0 also supports the editorconfig file. Any comments, corrections and suggestions are welcome.

SimpylFold - No-BS Python code folding for Vim

  •    Vim

Because of its reliance on significant whitespace rather than explicit block delimiters, properly folding Python code can be tricky. The Python syntax definition that comes bundled with Vim doesn't contain any fold directives at all, and the simplest workaround is to set foldmethod=indent, which usually ends up folding a lot more than you really want it to. There's no shortage of Vim plugins for improved Python folding, but most seem to suffer from cobbled-together algorithms with bizarre, intractable bugs in the corner cases. SimpylFold aims to be exactly what its name suggests: simple, correct folding for Python.

vim-table-mode - VIM Table Mode for instant table creation.

  •    Vim

An awesome automatic table creator & formatter allowing one to create neat tables as you type. To start using the plugin in the on-the-fly mode use :TableModeToggle mapped to <Leader>tm by default (which means \ t m if you didn't override the by :let mapleader = ',' to have , t m).

braceless.vim - :snake: Text objects, folding, and more for Python and other indented languages.

  •    Vim

Text objects, folding, and more for Python and other indented languages. CoffeeScript support is already baked in, but mainly as an incomplete proof of concept. The default motion of interest is P. It can be used for things like vaP, ciP, >iP, etc. :h braceless Covers the details of this plugin.

space-vim - :four_leaf_clover: Lean & mean spacemacs-ish Vim distribution

  •    Vim

space-vim is a vim distribution for vim plugins and resources, compatible with Vim and NeoVim. It is inspired by spacemacs and mimics spacemacs in a high level, especially in the whole architecture, key bindings and GUI. if have ever tried spacemacs, you will find space-vim is very similar to it in user experience.

vim-which-key - :tulip: Vim plugin that shows keybindings in popup

  •    Vim

vim-which-key is vim port of emacs-which-key that displays available keybindings in popup. emacs-which-key started as a rewrite of guide-key, very likely, vim-which-key heavily rewrote vim-leader-guide with a goal of going further in vim world. The features of vim-which-key has evolved a lot since then.

ale - Asynchronous linting/fixing for Vim and Language Server Protocol (LSP) integration

  •    Vim

ALE (Asynchronous Lint Engine) is a plugin for providing linting in NeoVim 0.2.0+ and Vim 8 while you edit your text files, and acts as a Vim Language Server Protocol client. ALE makes use of NeoVim and Vim 8 job control functions and timers to run linters on the contents of text buffers and return errors as text is changed in Vim. This allows for displaying warnings and errors in files being edited in Vim before files have been saved back to a filesystem.

vim-gotham - Code never sleeps in Gotham City.

  •    Vim

Gotham is a very dark vim colorscheme. It works on GUI vim (MacVim or gVim) and on terminal vim. For terminal vim, there's support for a lot of terminal emulators in the gotham-contrib repository.If you don't use a plugin manager just copy the content of vim/colors/ to ~/.vim/colors.

vim-go-tutorial - Tutorial for vim-go

  •    Vim

Tutorial for vim-go. A simple tutorial on how to install and use vim-go.We're going to use vim-plug to install vim-go. Feel free to use other plugin managers instead. We will create a minimal ~/.vimrc, and add to it as we go along.

EverVim - A Modern, Powerful & Modular Vim Distribution

  •    Vim

EverVim is the ultimate vim distribution that supports NeoVim, Vim, GVim and MacVim. It ships with tons of powerful features through vim plugins, which makes it easy to get started for both newcomers and experienced users. The distribution is completely customizable using a ~/.EverVim.vimrc Vim config files.

vim-bootstrap - Vim Bootstrap is generator provides a simple method of generating a

  •    Vim

Vim Bootstrap is generator provides a simple method of generating a .vimrc configuration for vim, NeoVim, MacVim and GVim.The distribution is designed to work with Vim >= 7.4.

vim-grammarous - A powerful grammar checker for Vim using LanguageTool.

  •    Vim

vim-grammarous is a powerful grammar checker for Vim. Simply do :GrammarousCheck to see the powerful checking. This plugin automatically downloads LanguageTool, which requires Java 8+. This plugin can use job feature on Vim 8.0.27 (or later) or Neovim. It enables asynchronous command execution so you don't need to be blocked until the check has been done on Vim8+ or Neovim.