diff options
Diffstat (limited to 'autoload/prettier/logging/error.vim')
| -rw-r--r-- | autoload/prettier/logging/error.vim | 2 |
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 |
