From 6b86d7861dfb14b1e2ac0b73d872b7df6591dde7 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Sun, 13 Jan 2019 20:35:25 -0500 Subject: [PATCH] Cleanup from initial Greenkeeper PR --- README.md | 6 ++++-- build/package.json | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0e2aaf..50e57be 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ +# onedark.vim + +[![Greenkeeper badge](https://badges.greenkeeper.io/joshdick/onedark.vim.svg)](https://greenkeeper.io/) + ![onedark.vim](https://raw.githubusercontent.com/joshdick/onedark.vim/master/img/readme_header.png) A dark Vim/Neovim color scheme for the GUI and 16/256/true-color terminals, based on [FlatColor](https://github.com/MaxSt/FlatColor), with colors inspired by the excellent [One Dark syntax theme](https://github.com/atom/one-dark-syntax) for the [Atom text editor](https://atom.io). ## Installation -[![Greenkeeper badge](https://badges.greenkeeper.io/joshdick/onedark.vim.svg)](https://greenkeeper.io/) - 1. Install the theme using your Vim plug-in manager of choice (or manually, by placing `colors/onedark.vim` in your `~/.vim/colors/` directory and `autoload/onedark.vim` in your `~/.vim/autoload/` directory.) The theme also supports being installed as a Vim 8 package. Simply clone this repository into `~/.vim/pack/*/opt/` (so that the local path to this README would end up being `~/.vim/pack/*/opt/onedark.vim/README.md`) and add `packadd! onedark.vim` to your `~/.vimrc`. (The `*` in the path can be any value; see `:help packages` for more information.) diff --git a/build/package.json b/build/package.json index 528a4f2..3c6bd98 100644 --- a/build/package.json +++ b/build/package.json @@ -5,7 +5,6 @@ "main": "build.js", "scripts": { "build": "node build.js", - "precommit": "npm test", "test": "eslint build.js && node build.js check" }, "author": { @@ -25,5 +24,10 @@ "dependencies": { "dot": "1.1.2", "termcolors": "latest" + }, + "husky": { + "hooks": { + "pre-commit": "npm test" + } } }