Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when writing oil buffers on Windows #10

Open
kmoschcau opened this issue Jun 12, 2024 · 1 comment · May be fixed by #12
Open

Error when writing oil buffers on Windows #10

kmoschcau opened this issue Jun 12, 2024 · 1 comment · May be fixed by #12

Comments

@kmoschcau
Copy link

Whenever I write an oil buffer on Windows with this plugin active, I get this error message:

Error detected while processing BufWriteCmd Autocommands for "oil://*":
Error executing lua callback: ...u/AppData/Local/nvim-data/lazy/oil.nvim/lua/oil/init.lua:1121: BufWriteCmd Autocommands for "oil://*"..BufWritePost Autocommands for "<buffer=834>": Vim(append):Error executing lua callback: ...gram Files\Neovim\share\nvim\runtime/lua/vim/_system.lua:244: ENOENT: no such file or directory
stack traceback:
        [C]: in function 'error'
        ...gram Files\Neovim\share\nvim\runtime/lua/vim/_system.lua:244: in function 'spawn'
        ...gram Files\Neovim\share\nvim\runtime/lua/vim/_system.lua:335: in function 'system'
        ...vim-data/lazy/oil-git-status.nvim/lua/oil-git-status.lua:129: in function 'fn'
        ...vim-data/lazy/oil-git-status.nvim/lua/oil-git-status.lua:112: in function 'concurrent'
        ...vim-data/lazy/oil-git-status.nvim/lua/oil-git-status.lua:127: in function 'load_git_status'
        ...vim-data/lazy/oil-git-status.nvim/lua/oil-git-status.lua:207: in function <...vim-data/lazy/oil-git-status.nvim/lua/oil-git-status.lua:206>
        [C]: in function 'doautocmd'
        ...u/AppData/Local/nvim-data/lazy/oil.nvim/lua/oil/init.lua:1121: in function <...u/AppData/Local/nvim-data/lazy/oil.nvim/lua/oil/init.lua:1095>
stack traceback:
        [C]: in function 'doautocmd'
        ...u/AppData/Local/nvim-data/lazy/oil.nvim/lua/oil/init.lua:1121: in function <...u/AppData/Local/nvim-data/lazy/oil.nvim/lua/oil/init.lua:1095>
@kmoschcau
Copy link
Author

kmoschcau commented Jul 9, 2024

I now even get a similar error when opening an oil buffer on windows. It's the same git status, just with a BufReadPost autocommand instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant