aboutsummaryrefslogtreecommitdiff
path: root/autoload/prettier/logging/error.vim
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-08-30 05:02:09 +0000
committermitermayer <mitermayer.reis@gmail.com>2019-08-30 05:05:29 +0000
commit568a15530cbb3b91dbf0c1c688cd5d27ccf8949b (patch)
treee6cb742357cb44014cb7fac20b2a18594c5035b3 /autoload/prettier/logging/error.vim
parentb47fb046d880815e8d8a4974167ee2a81f1cd4cf (diff)
downloadvim-prettier-568a15530cbb3b91dbf0c1c688cd5d27ccf8949b.tar.xz
enabling-tests-to-auto-run-on-ci - Fixing linting and moving to use yarn
on the tests - fixing lint that was forced to test build - use yarn over npm - use yarn cache
Diffstat (limited to 'autoload/prettier/logging/error.vim')
-rw-r--r--autoload/prettier/logging/error.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/prettier/logging/error.vim b/autoload/prettier/logging/error.vim
index 3539a1e..48ad048 100644
--- a/autoload/prettier/logging/error.vim
+++ b/autoload/prettier/logging/error.vim
@@ -7,6 +7,6 @@ let s:DEFAULT_ERROR = get(s:, 'PARSING_ERROR')
function! prettier#logging#error#log(...) abort
let l:error = a:0 > 0 ? a:1 : s:DEFAULT_ERROR
- let l:msg = a:0 > 1 ? ': ' . :2 : ''
+ let l:msg = a:0 > 1 ? ': ' . a:2 : ''
echohl WarningMsg | echom s:PREFIX_MSG . get(s:ERRORS, l:error, s:DEFAULT_ERROR) . l:msg | echohl NONE
endfunction