Skip to content

Commit 156f0b3

Browse files
committed
Fixed to upstream column value.
1 parent 96d6278 commit 156f0b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm-searcher.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ This is uses by both replace in file and project.")
155155
"Convert CAND string to a plist data."
156156
(let* ((data (split-string cand helm-searcher-separator))
157157
(file (nth 0 data)) (ln-str nil)
158-
(pos nil) (ln nil) (col nil) )
158+
(pos nil) (ln nil) (col nil))
159159
(cl-case helm-searcher-display-info
160160
('position
161161
(setq pos (nth 1 data))
@@ -202,7 +202,7 @@ This is uses by both replace in file and project.")
202202
(setq file (plist-get item :file)) (setq file (s-replace dir "" file))
203203
(progn ; Resolve line string.
204204
(setq ln-str (plist-get item :string))
205-
(setq col (1+ (plist-get item :column)))
205+
(setq col (plist-get item :column))
206206
(setq ln-str (helm-searcher--propertize-line-string ln-str input col)))
207207
(progn ; Resolve information.
208208
(setq pos (plist-get item :position)) (setq pos (number-to-string pos))

0 commit comments

Comments
 (0)