Git Product home page Git Product logo

Comments (9)

tjdevries avatar tjdevries commented on July 28, 2024

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.

Anrock avatar Anrock commented on July 28, 2024

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.

Anrock avatar Anrock commented on July 28, 2024

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.

tjdevries avatar tjdevries commented on July 28, 2024

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.

Anrock avatar Anrock commented on July 28, 2024

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.

tjdevries avatar tjdevries commented on July 28, 2024

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.

tjdevries avatar tjdevries commented on July 28, 2024

(if that's cool and everything else seems fine, closing this issue would be great)

from telescope.nvim.

Anrock avatar Anrock commented on July 28, 2024

Sure!

from telescope.nvim.

theherk avatar theherk commented on July 28, 2024

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 :TSUpdate resolves the issue. 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.

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)

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.