Skip to content

Instantly share code, notes, and snippets.

" Syntax file for Avro IDL files.
if exists('b:current_syntax')
finish
endif
syn case match
" Delegate to JSON syntax highlighting for defaults.
syn include @json syntax/json.vim
@mtth
mtth / promisified.js
Last active January 23, 2017 03:51
Promisified Avro service API
/* jshint esversion: 6, node: true */
'use strict';
/** Sample code using the promisified service API. */
const avro = require('avsc');
const promisify = require('./promisify'); // See file below.
// A sample service with a single message. Note that this message's error type
@mtth
mtth / index.js
Created March 17, 2019 19:17
Rollup `@avro/types`
/** The most minimal module possible. */
'use strict';
module.exports = require('@avro/types');