mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-20 01:23:43 -05:00
Updated Examples (vim) (markdown)
@@ -107,7 +107,7 @@ command! FZFLines call fzf#run({
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
function! s:ag_handler(lines)
|
function! s:ag_handler(lines)
|
||||||
if empty(a:lines) | return | endif
|
if len(a:lines) < 2 | return | endif
|
||||||
|
|
||||||
let [key, line] = a:lines[0:1]
|
let [key, line] = a:lines[0:1]
|
||||||
let [file, line, col] = split(line, ':')[0:2]
|
let [file, line, col] = split(line, ':')[0:2]
|
||||||
|
|||||||
Reference in New Issue
Block a user