Comments (13)
@carlitux it's different from fugitive
you don't need to write the buffer. You should try <c-c><c-c>
instead to commit
from neogit.
Interesting. I can commit on my machine.
Are you using sessions?
The line that errored tells me that somehow the popup state disappeared. Did you reload some lua code while you had the popup open?
from neogit.
When I try to save the commit message I get this error: 382: Cannot write, 'buftype' option is set
maybe I am doing wrong? how I can save the commit message and continue the commit process.
from neogit.
@TimUntersberger , I am using sessions from vim-startify
nothing else. No I didn't reload the popup or anything. I simply press two times c
and then it goes to commit
screen. But that is not happening now.
from neogit.
@lalitmee sessions sometimes create problems for me when using new/updated plugins.
Could you try commiting in a new repo without using sessions?
from neogit.
@TimUntersberger , the whole plugin seems broken.
After the latest update now I can't expand and collapse the hunks.
from neogit.
@lalitmee that's probably related to #77
from neogit.
@RianFuro , yeah I was able to fix that by calling the setup function. But I am still not able to write commit messages.
from neogit.
Can you try commiting with only neogit
installed (so basically nvim + neogit)
Edit:
I really can't reproduce this.
from neogit.
I played around with the sessions from vim-startify
a bit, but couldn't reproduce the problem. So either it's some specific configuration or has nothing to do with it (or I just missed it, ofc).
from neogit.
@TimUntersberger , yup you are right. I tried this with only nvim + neogit
and it worked. I really don't know what is the other thing which is affecting this. Because now I am not even calling the setup
function. So simply there is no config for neogit
.
Any idea what other plugin may be affecting this?
from neogit.
@lalitmee We don't have any other reports of incompatibilities as of yet. You could add back your used plugins one by one and see when neogit starts to break, so we at least know where we need to start looking.
from neogit.
@RianFuro , this was happening because I was calling the setup function of neogit. I think that was not needed for me. Simply I removed the whole file neogit.lua
from my config and it worked.
Thank you so much for this awesome plugin. I think it will give a good fight to fugitive
. 👍
from neogit.
Related Issues (20)
- Neogit doesn't respond to subcomands
- Error when committing HOT 1
- closing commit_editor with kind = "vsplit" causes error HOT 2
- Discarding specific lines does not work
- ignored_settings not honoring the `--` flag of the log popup
- Erroneous behavior when working simutaniously with two or more git repos
- Is it possible to disable curosrline highlightings but keep context highlightings?
- unstaging a highlighted section in an staged but untracked file does not work HOT 6
- Float window cannot be split HOT 1
- NeogitWinSeparator has no default highlight
- Vertical split commit popup throws an error when closing or commiting in vsplit
- Tab not focused for secondary git repo the first time Neogit is opened
- Neogit fails to close staged diff split if commit editor is split instead of tab HOT 3
- Async errors + Neogit showing outdated state: neogit/lib/buffer.lua:349: Invalid buffer id: 44 HOT 15
- "Recent commits" section does not show if there are unmerged commits HOT 3
- ...al/share/nvim/lazy/neogit/lua/neogit/lib/item_filter.lua:18: bad argument #1 to 'new' (table expected, got boolean)
- `attempt to compare nil with number` when staging via visual-lines selection HOT 1
- Neogit showing incorrect/duplicate data in status buffer HOT 11
- Neogit starts producing errors when calling `neogit.open` twice from different `pwd`, OR when using a zsh terminal that runs the `powerlevel10k` theme
- regression: using neogit with external prompt for SSH freezes neovim HOT 4
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 neogit.