Git Product home page Git Product logo

Comments (8)

kkharji avatar kkharji commented on July 28, 2024

Is this still ongoing bug? @rockerBOO @bryall

from telescope.nvim.

polarmutex avatar polarmutex commented on July 28, 2024

it still exists in the code, basically the minus one in the buffer previewer needs to be removed and then double check all who use the buffer previewer to check to make sure they have the correct modifications when creating their entries

from telescope.nvim.

Conni2461 avatar Conni2461 commented on July 28, 2024

Previewers got completely rewritten and that should be fixed now. Can you confirm? Thanks :)

from telescope.nvim.

polarmutex avatar polarmutex commented on July 28, 2024

this bug is still present,

on line 535 in the make_entries file, the tree sitter has to do a "entry.lnum - 1" to have the correct line number. tree sitter should not have to do this.

from telescope.nvim.

Conni2461 avatar Conni2461 commented on July 28, 2024

Okay so now its tree-sitter :) I agree with you that should not happen here.
But buffer and lsp work should be good right?

Edit: Also thanks for testing all that :)
Edit 2: Line removed in #382

from telescope.nvim.

tjdevries avatar tjdevries commented on July 28, 2024

Any problems with this now? Or can we close?

from telescope.nvim.

polarmutex avatar polarmutex commented on July 28, 2024

this issue was created because we had to add 1 to the line number when making entries. As far as I know we still need it for tree sitter to work correctly. If my memory remembers correctly, Lsp needed to subtract one when making entries and this plus one was to overcome it.

I am find if you want to close this issue, since it is working, the issue was created to make the code better and more clear

lnum = start_row + 1,

from telescope.nvim.

Conni2461 avatar Conni2461 commented on July 28, 2024

Closing this issue, its too general and we have no + 1s left in the previewer that are an issue.

The treesitter +1 is still there but its inevitable and the lsp stuff does not have any -1 afaik

from telescope.nvim.

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.