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

Added so the buffer shows info when open #59

Closed
wants to merge 3 commits into from
Closed

Added so the buffer shows info when open #59

wants to merge 3 commits into from

Conversation

Kirikmelet
Copy link

Before when I called PackerSync or PackerUpdate, I would get an error in display.lua line 388; which reads 'Buffer is not "modifiable"'.
packer_error
So to fix it, I added api.nvim_buf_set_option(buf, 'modifiable', true) in make_header above the function to get width.

@wbthomason
Copy link
Owner

Hmm, could you give me more information on your setup? The display window has been working without error for me (and others) for months now, so (unless there's been a breaking change on Neovim HEAD), I'm not sure why you would've seen this issue.

Thanks for the PR, also!

@Kirikmelet
Copy link
Author

Sorry, I found the issue I was having, turns out an autogroup I was using to save folds caused the buffer to be set nomodifiable.

Should I close this pull request or should I leave it open?

@wbthomason
Copy link
Owner

Ah, I'm glad you got things working. Let's close this PR, but if you'd like to make another PR adding a "Troubleshooting" section to the README with this information, that'd be very welcome! No worries if you'd rather not, though.

Thanks!

@Kirikmelet Kirikmelet closed this Sep 30, 2020
@Kirikmelet
Copy link
Author

Ok

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 this pull request may close these issues.

None yet

2 participants