Comments (8)
Is this still ongoing bug? @rockerBOO @bryall
from telescope.nvim.
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.
Previewers got completely rewritten and that should be fixed now. Can you confirm? Thanks :)
from telescope.nvim.
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.
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.
Any problems with this now? Or can we close?
from telescope.nvim.
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
telescope.nvim/lua/telescope/make_entry.lua
Line 584 in 9f58834
from telescope.nvim.
Closing this issue, its too general and we have no + 1
s 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)
- telescope delete using buffer will occur error HOT 5
- Let user configure how `select_default` will edit file: `edit`, `new`, `vnew` or `tabedit`
- expose lsp handler version of telescope lsp builtins HOT 2
- Select first element even when search is not over yet HOT 1
- Telescope Not installing after update HOT 3
- filename_first does not seem to be working for me. HOT 8
- Resume per-picker
- The initial position of the cursor isn't as expected. HOT 1
- Only display filename on long paths HOT 2
- feat: git commits/log preview lacks commit message HOT 3
- Support for multiple projects HOT 1
- don't show the folder that you are in if you do nvim/path/to/different folder HOT 3
- Is there a way to pull up previous telescope prompt history? HOT 2
- cwd_only option for marks picker
- Display commit timestamp in git_bcommits
- [Bug] custom_layout doesnt work with mappings HOT 1
- Allow configuring a callback when live_grep finishes - to call vim.notify etc HOT 2
- builtin.symbols inserts symbol at wrong position HOT 8
- Set a theme globally
- not be able to preview "no name" in talescope tabs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telescope.nvim.