summaryrefslogtreecommitdiff
path: root/test/script
diff options
context:
space:
mode:
authorAmadeus Demarzi <amadeus@users.noreply.github.com>2022-04-01 05:54:23 -0700
committerGitHub <noreply@github.com>2022-04-01 13:54:23 +0100
commitb3d1d6eecfb5eb08787501294979dc6ba2426c35 (patch)
treea76474b824e1d5c9f7e4ad7db20f95cf2b965157 /test/script
parentbc406a846ea6873152cfb2d6ba50456f03d7cbb4 (diff)
downloadale-b3d1d6eecfb5eb08787501294979dc6ba2426c35.zip
Use echon over echom for cursor echo (#3888)
* Problem messages no longer clutter `:messages` * Messages are truncated better
Diffstat (limited to 'test/script')
-rwxr-xr-xtest/script/custom-linting-rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/script/custom-linting-rules b/test/script/custom-linting-rules
index 12dec4c1..d3f5e3f3 100755
--- a/test/script/custom-linting-rules
+++ b/test/script/custom-linting-rules
@@ -125,7 +125,7 @@ check_errors '==#' "Use 'is#' instead of '==#'. 0 ==# 'foobar' is true"
check_errors '==?' "Use 'is?' instead of '==?'. 0 ==? 'foobar' is true"
check_errors '!=#' "Use 'isnot#' instead of '!=#'. 0 !=# 'foobar' is false"
check_errors '!=?' "Use 'isnot?' instead of '!=?'. 0 !=? 'foobar' is false"
-check_errors '^ *:\?echo' "Stray echo line. Use \`execute echo\` if you want to echo something"
+check_errors '^ *:\?echo\>' "Stray echo line. Use \`execute echo\` if you want to echo something"
check_errors '^ *:\?redir' 'User execute() instead of redir'
# Exclusions for grandfathered-in exceptions
exclusions="clojure/clj_kondo.vim elixir/elixir_ls.vim go/golangci_lint.vim swift/swiftformat.vim"