We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bdcfa commit a75c0ceCopy full SHA for a75c0ce
plugin/gtm.vim
@@ -61,7 +61,7 @@ function! s:record()
61
if v:shell_error
62
echomsg s:no_gtm_err
63
else
64
- let s:gtm_plugin_status = (g:gtm_plugin_status_enabled ? output : '')
+ let s:gtm_plugin_status = (g:gtm_plugin_status_enabled ? substitute(output, '\n\+$', '', '') : '')
65
endif
66
let s:last_update = localtime()
67
let s:last_file = fpath
0 commit comments