Giter Club home page Giter Club logo

Comments (4)

gabesoft avatar gabesoft commented on July 20, 2024

@madtrick yea you need ag version 0.29.1 or better. Alternatively, you can try to remove filename from g:ags_agargs but I'm not sure what the search results will look like in that case.

from vim-ags.

madtrick avatar madtrick commented on July 20, 2024

Oh sorry, I didn't see the version requirement on the README https://github.com/gabesoft/vim-ags#notes

I'll try removing the --filename option and see what happens. Thanks for your time

from vim-ags.

gabesoft avatar gabesoft commented on July 20, 2024

I've tried using ag 0.27.0 and it seems to work fine. All you have to do is add this to your .vimrc

       let g:ags_agargs = {
                \ '--break'             : [ '', '' ],
                \ '--color'             : [ '', '' ], 
                \ '--color-line-number' : [ '"1;30"', '' ],
                \ '--color-match'       : [ '"32;40"', '' ],
                \ '--color-path'        : [ '"1;31"', '' ],
                \ '--column'            : [ '', '' ],
                \ '--context'           : [ 'g:ags_agcontext', '-C', '3' ],
                \ '--group'             : [ '', '' ],
                \ '--heading'           : [ '', '-H' ],
                \ '--max-count'         : [ 'g:ags_agmaxcount', '-m', '2000' ]
                \ }

No ---filename and no --numbers

from vim-ags.

madtrick avatar madtrick commented on July 20, 2024

@gabesoft thanks though I ended up upgrading to 0.29.1 😄

from vim-ags.

Related Issues (20)

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.