Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A simple wrapper for gdformat.

It's based on clang-format.py.

Requirements

Obviously requires gdformat from godot-gdscript-toolkit.

If it's not in your PATH, you need to set g:gdformat_path to it's path.

Installation

Install using your favourite plugin manager.

For example Plug 'loipesmas/gdformat.vim' for vim-plug.

You also need to install gdformat, for example with pip install gdtoolkit.

Usage

Use command :GDFormat to format current buffer.

You can also do let g:gdformat_on_write = 1 in your vim config to automatically format on write.

Contributing

Contributions are very welcome! Just open an issue or a PR.

About

Vim plugin for gdformat integration

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages