This repo contains a collection of ZHAW related snippets.
Snippet | Purpose | Available in |
---|---|---|
inesh |
The InES file header | c, cpp, latex, python, shellscript, systemverilog, verilog, vhdl |
Install the extension from the extension market.
This plugin only provides snippets. Therefore, you need a plugin that provides snippet features and supports loading VSCode snippets.
For example:
Use your plugin manager to install the package.
-- Packer
use "InES-HPMM/zhaw-snippets"
-- Plug
Plug 'InES-HPMM/zhaw-snippets'
-- coc.nvim
CocInstall https://github.com/InES-HPMM/zhaw-snippets@main
vim-vsnip will automatically detect and load the snippets. In LuaSnip you will have to call
require("luasnip.loaders.from_vscode").load()
-- or to lazy load the snippets
require("luasnip.loaders.from_vscode").lazy_load()
- VSCode Snippets Documentation
- Example project:
See CHANGELOG for details.