Giter Club home page Giter Club logo

vim-fuzzy's People

Contributors

lacygoill avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nicsig

vim-fuzzy's Issues

rg / grep option

var cmd: string = executable('rg') ? "rg '.*' ." : 'grep -RHIins'

Seems that rg -n option is missing. If rg option is not set in other place (like in $RIPGREP_CONFIG_PATH), then :FzGrep will report error; add -n option fixes it.

(Things not relative to this issue: would you mind to create a license file for this repository? I would like to include this repository in my dotfiles, with my own patch which is not suitable to be push to upstream (this repo), like using busybox-w32 as shell)

`<Space>fc` (FzCommands) display some commands with completion incorrectly

This can be triggerd when a command is defined with -complete=custom[list],XXX (XXX is a long function name).

MRE:

vim9script
set pp=~/vimfiles  # modify if necessary
syntax on  # without this, it is not initialized correctly
packadd vim-fuzzy-origin  # modify if necessary

command! -nargs=* -complete=custom,LongFuncName MRE echo
def LongFuncName(..._: list<any>): string
    return ''
enddef

expect:

search "MRE", something like this shows:

MRE                 echo        mre.vim:6

actually:

MREFuncName         echo        mre.vim:6

why:

:verbose command MRE gives the following result (command-complete info may exceeds 43 columns):

    Name              Args Address Complete    Definition
    MRE               *            custom,LongFuncName echo
        Last set from /tmp/mre.vim line 6

So maybe the regex here

noise = '^\S*\zs.*\%43c'

should be modified to ^\S*\zs.*\%43c\S* (with "\S*" after it)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.