aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-12-08 10:06:43 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-12-08 10:06:43 +1300
commit92cd78166b3bf057d60d23b38c0308498cad3f9c (patch)
tree9b92351a473d901a35f82f7aff0cd624fd816653
parentea66c45e69b910b9b68d5e0c3bf4d3d6a8f187c3 (diff)
downloaddotfiles-92cd78166b3bf057d60d23b38c0308498cad3f9c.tar.gz
dotfiles-92cd78166b3bf057d60d23b38c0308498cad3f9c.zip
Make vim-vint allow saying ":set nocompatible"
Per 62d2a7d, I need to have 'nocompatible' set if Vim is invoked as "ex" or if it's sourced directly with the -u option. I disagree with the policy.
-rw-r--r--vint/vintrc.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/vint/vintrc.yaml b/vint/vintrc.yaml
index 572f0791..9a8b7128 100644
--- a/vint/vintrc.yaml
+++ b/vint/vintrc.yaml
@@ -1,2 +1,6 @@
cmdargs:
severity: style_problem
+
+policies:
+ ProhibitSetNoCompatible:
+ enabled: false