diff options
author | Amadeus Demarzi <amadeus@users.noreply.github.com> | 2022-04-01 05:54:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 13:54:23 +0100 |
commit | b3d1d6eecfb5eb08787501294979dc6ba2426c35 (patch) | |
tree | a76474b824e1d5c9f7e4ad7db20f95cf2b965157 /test/script | |
parent | bc406a846ea6873152cfb2d6ba50456f03d7cbb4 (diff) | |
download | ale-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-x | test/script/custom-linting-rules | 2 |
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" |