Skip to content

zenc-lang/zenc.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zenc.vim

This is a Vim/Neovim plugin providing syntax highlighting and smart indentation for the Zen C programming language.

NOTE: This plugin should work fine for most Zen C code that you'll encounter or write, but there may still be unhandled edge cases. Please open an issue for any broken syntax highlighting or indentation that you find.

Installation

Plugin Manager Install

If you use a plugin manager, please consult your plugin manager's docs for installation instructions. Generally you shouldn't need to specify anything beyond the plugin source (e.g. zenc-lang/zenc.vim).

For users of lazy.nvim, note that this plugin already does its own lazy loading (it will only be loaded when you open a .zc file). As such, you don't need to set any additional lazy loading options for this plugin.

Manual Install

Vim:

# Replace "manual" with whatever namespace you prefer:
git clone https://github.com/zenc-lang/zenc.vim.git ~/.vim/pack/manual/start/zenc.vim

Neovim:

# Replace "manual" with whatever namespace you prefer:
git clone https://github.com/zenc-lang/zenc.vim.git ~/.local/share/nvim/site/pack/manual/start/zenc.vim

Configuration

To take advantage of the smart indentation features that this plugin provides, make sure the following options are set in your config (some or all of these may be enabled by default, but it won't hurt to explicitly enable them regardless).

Vim:

filetype indent plugin on
packadd comment

Neovim:

vim.cmd("filetype indent plugin on")

About

Vim/Neovim plugin providing syntax highlighting and smart indentation for the Zen C programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages