aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 18:22:51 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 18:24:39 +1300
commit1ab5ee6ef4b0b018b36b4b9712dcf1d90ddda4bf (patch)
tree72aa1361dbda172d4415aa3a1f246c857ac0179e /Makefile
parentSwitch to VimL functions for whitespace stripper (diff)
downloaddotfiles-1ab5ee6ef4b0b018b36b4b9712dcf1d90ddda4bf.tar.gz
dotfiles-1ab5ee6ef4b0b018b36b4b9712dcf1d90ddda4bf.zip
Add a `lint-vim` target for linting Vim config
Since I know there's a usable tool for this now in vim-vint, I may as well make a target for my own convenience later. Updated the README.markdown documentation of the `lint-*` targets, restructuring the paragraph into a nested list for clarity. Also updated the `dotfiles(7)` manual page to reflect those changes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 01e58ba8..314c2a2b 100644
--- a/Makefile
+++ b/Makefile
@@ -66,6 +66,7 @@
lint-ksh \
lint-sh \
lint-urxvt \
+ lint-vim \
lint-xinit
.SUFFIXES:
@@ -570,6 +571,7 @@ lint: lint-bash \
lint-ksh \
lint-sh \
lint-urxvt \
+ lint-vim \
lint-xinit
lint-bash: check-bash
@@ -590,5 +592,8 @@ lint-sh: check-sh
lint-urxvt: check-urxvt
sh lint/urxvt.sh
+lint-vim:
+ sh lint/vim.sh
+
lint-xinit: check-xinit
sh lint/xinit.sh