From ea66c45e69b910b9b68d5e0c3bf4d3d6a8f187c3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 8 Dec 2017 10:05:32 +1300 Subject: Add install target for vim-vint --- vint/vintrc.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 vint/vintrc.yaml (limited to 'vint/vintrc.yaml') diff --git a/vint/vintrc.yaml b/vint/vintrc.yaml new file mode 100644 index 00000000..572f0791 --- /dev/null +++ b/vint/vintrc.yaml @@ -0,0 +1,2 @@ +cmdargs: + severity: style_problem -- cgit v1.2.3 From 92cd78166b3bf057d60d23b38c0308498cad3f9c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 8 Dec 2017 10:06:43 +1300 Subject: 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. --- vint/vintrc.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vint/vintrc.yaml') 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 -- cgit v1.2.3 From c002d58b6c969b45296fd00f862b70d0195ab024 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 8 Dec 2017 10:08:22 +1300 Subject: Add some comments to vintrc --- vint/vintrc.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vint/vintrc.yaml') diff --git a/vint/vintrc.yaml b/vint/vintrc.yaml index 9a8b7128..cf74433a 100644 --- a/vint/vintrc.yaml +++ b/vint/vintrc.yaml @@ -1,6 +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 -- cgit v1.2.3