You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
callxolox#misc#timer#stop("%s: Found a syntax error in %s in %s.", s:script, friendlyname, starttime)
76
+
callxolox#misc#timer#stop("luainspect.vim %s: Found a syntax error in %s in %s.", g:xolox#luainspect#version, friendlyname, starttime)
77
77
" But always let the user know that a syntax error exists.
78
-
callxolox#misc#msg#warn("Syntax error around line %i in %s: %s", linenum, friendlyname, b:luainspect_syntax_error)
78
+
callxolox#misc#msg#warn("luainspect.vim %s: Syntax error around line %i in %s: %s", g:xolox#luainspect#version, linenum, friendlyname, b:luainspect_syntax_error)
79
79
return
80
80
endif
81
81
unlet!b:luainspect_syntax_error
82
82
if response =='highlight'
83
83
calls:define_default_styles()
84
84
calls:clear_previous_matches()
85
85
calls:highlight_variables()
86
-
callxolox#misc#timer#stop("%s: Highlighted variables in %s in %s.", s:script, friendlyname, starttime)
86
+
callxolox#misc#timer#stop("luainspect.vim %s: Highlighted variables in %s in %s.", g:xolox#luainspect#version, friendlyname, starttime)
87
87
elseif response =='goto'
88
88
iflen(b:luainspect_output) < 3
89
-
callxolox#misc#msg#warn("No variable under cursor!")
89
+
callxolox#misc#msg#warn("luainspect.vim %s: No variable under cursor!", g:xolox#luainspect#version)
90
90
else
91
91
let linenum =b:luainspect_output[1] +0
92
92
let colnum =b:luainspect_output[2] +1
93
93
callsetpos('.', [0, linenum, colnum, 0])
94
-
callxolox#misc#timer#stop("%s: Jumped to definition in %s in %s.", s:script, friendlyname, starttime)
94
+
callxolox#misc#timer#stop("luainspect.vim %s: Jumped to definition in %s in %s.", g:xolox#luainspect#version, friendlyname, starttime)
95
95
if &verbose==0
96
96
" Clear previous "No variable under cursor!" message to avoid confusion.
97
-
callxolox#misc#msg#info("")
97
+
redraw | echo""
98
98
endif
99
99
endif
100
100
elseif response =='tooltip'
101
101
iflen(b:luainspect_output) > 1
102
-
callxolox#misc#timer#stop("%s: Rendered tool tip for %s in %s.", s:script, friendlyname, starttime)
102
+
callxolox#misc#timer#stop("luainspect.vim %s: Rendered tool tip for %s in %s.", g:xolox#luainspect#version, friendlyname, starttime)
103
103
returnjoin(b:luainspect_output[1:-1], "\n")
104
104
endif
105
105
elseif response =='rename'
106
106
iflen(b:luainspect_output) > 1
107
-
callxolox#misc#timer#stop("%s: Prepared for rename in %s in %s.", s:script, friendlyname, starttime)
107
+
callxolox#misc#timer#stop("luainspect.vim %s: Prepared for rename in %s in %s.", g:xolox#luainspect#version, friendlyname, starttime)
108
108
calls:rename_variable()
109
109
else
110
-
callxolox#misc#msg#warn("No variable under cursor!")
110
+
callxolox#misc#msg#warn("luainspect.vim %s: No variable under cursor!", g:xolox#luainspect#version)
0 commit comments