aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-12-08 10:08:37 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-12-08 10:08:37 +1300
commit6a6e986d24e40ca634348eb9cf7ce10704cf8ec0 (patch)
treec1e03d476044694e3b588e04e62b01da4a655ac3
parentMerge branch 'feature/vim-submodule' into develop (diff)
parentAdd some comments to vintrc (diff)
downloaddotfiles-6a6e986d24e40ca634348eb9cf7ce10704cf8ec0.tar.gz
dotfiles-6a6e986d24e40ca634348eb9cf7ce10704cf8ec0.zip
Merge branch 'feature/vim-vint-in...' into develop
* feature/vim-vint-install: Add some comments to vintrc Make vim-vint allow saying ":set nocompatible" Add install target for vim-vint
-rw-r--r--Makefile4
-rw-r--r--vint/vintrc.yaml10
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a899a367..9fec0cc9 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@
install-vim-gui \
install-vim-gui-config \
install-vim-indent \
+ install-vint \
install-wget \
install-x \
install-zsh \
@@ -562,6 +563,9 @@ install-vim-gui: install-vim \
install-vim-gui-config:
cp -p -- vim/gvimrc $(HOME)/.gvimrc
+install-vint:
+ cp -p -- vint/vintrc.yaml $(HOME)/.vintrc.yaml
+
install-wget:
cp -p -- wget/wgetrc $(HOME)/.wgetrc
diff --git a/vint/vintrc.yaml b/vint/vintrc.yaml
new file mode 100644
index 00000000..cf74433a
--- /dev/null
+++ b/vint/vintrc.yaml
@@ -0,0 +1,10 @@
+# Show me all my problems, including matters of style
+cmdargs:
+ severity: style_problem
+
+# Allow "set nocompatible", because it does need to be included for using ex if
+# I don't want so much of my config to break because of 'cpoptions' (especially
+# splitting long lines)
+policies:
+ ProhibitSetNoCompatible:
+ enabled: false