Comments (9)
Ok, thanks for the report.
Do you happen to know what autocommand nvim tree sitter is expecting when opening the file? My guess is I'm somehow not triggering that when we open the file and I could open that.
Is the file already open in neovim before you open it in find_files or no?
from telescope.nvim.
Do you happen to know what autocommand nvim tree sitter is expecting when opening the file?
No, unfortunately I don't know. I'm just trying to migrate my nvim setup to all the lua goodies, so this is basically first-experience-report :)
Is the file already open in neovim before you open it in find_files or no?
No, it's not. I'm just cd myproject; nvim
and then call find_files
and open file from telescope.
from telescope.nvim.
Okay, it's really weird. I have this problem on my macos machine with neovim HEAD from today and I don't have this problem on my linux machine with neovim HEAD compiled yesterday. Could be actually nvim-related problem.
I'm gonna do some more cross-checks to find out what's going.
from telescope.nvim.
Yeah, I just experienced this problem today as well -- it may be something that nvim-treesitter
or core needs to fix. Thanks for reporting (and I'll see if I can track it down as well if I can find some time to do so).
I just disabled treesitter for myself right now. Might re-enable in a week or so after they have a bit more time to iron out some of the rough edges.
from telescope.nvim.
Welp, I've rebuilt neovim head today on my mac machine and treesitter problem along with saving problem is gone now. The only thing left is that opened file still has absolute path while I expect it to be relative to cwd.
from telescope.nvim.
Cool, can you make a separate issue about the file paths? I'm trying to fix a few things but I want to get the path stuff sorted as well.
from telescope.nvim.
(if that's cool and everything else seems fine, closing this issue would be great)
from telescope.nvim.
Sure!
from telescope.nvim.
I'm experiencing this same issue. Open with :e file
, can save. Open with :Telescope find_files<cr>
, can't save without !
. Very strange. But it seems I take it back, that doesn't fix the issue. Neither does killing all of nvim's cache. No clue. Any ideas @tjdevries. I know a lot of time has passed here, but there does seem to be an issue.:TSUpdate
resolves the issue.
If it helps, the directory this is happening in is my nvim config directory. Which is a git directory. It was moved to .config/nvim.backup
and a new one was created so the git index has many changes, but I cannot see how that would affect this issue.
from telescope.nvim.
Related Issues (20)
- find_files not hiding hidden files by default HOT 4
- Avoid opening in winfixbuf windows HOT 2
- Need provision to stop ignoring files and folders that are ignored by git HOT 2
- Odd default behavior with flex layout when resizing horizontally HOT 1
- Add git-aware functionality to telescope.builtins HOT 4
- current_buffer_fuzzy_find searches first opened buffer instead of current buffer HOT 4
- A global file selector? HOT 5
- Disable highlight in preview base on a config array of function HOT 6
- Display line number with filename when using `filename_first` HOT 1
- filename_first doesn't works with buffer list HOT 2
- Telescope takes ages to close HOT 2
- Telescope results off the buffer HOT 2
- filename_first does not work if config key is present HOT 2
- `Cursor position outside buffer` error in `pickers.lua` HOT 5
- The previewer is slow when hovering big files
- add dyn_title to builtin.help_tags
- search bar bug: can't get result when input char one by one HOT 2
- lsp_definitions should respect file_ignore_patterns when deciding list or jump
- Telescope buffers is failing HOT 3
- [feature request] Add configurable devicon padding HOT 1
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.