X Tutup
The Wayback Machine - https://web.archive.org/web/20201210155723/https://github.com/ziglang/zig.vim
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.

README.md

zig.vim

File detection and syntax highlighting for the zig programming language.

Installation

If using Vim:

  • Use Vim 8 or newer
  • mkdir -p ~/.vim/pack/plugins/start/
  • cd ~/.vim/pack/plugins/start/
  • git clone https://github.com/ziglang/zig.vim

If using Neovim:

  • mkdir -p ~/.local/share/nvim/site/pack/plugins/start/
  • cd ~/.local/share/nvim/site/pack/plugins/start/
  • git clone https://github.com/ziglang/zig.vim

Configuration

This plugin enables automatic code formatting on save by default using zig fmt. To disable it, you can use this configuration in vimrc:

let g:zig_fmt_autosave = 0

About

Vim configuration for Zig

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.
X Tutup