Skip to content

prevent modified flag switch for httpResult#34

Merged
NTBBloodbath merged 1 commit intorest-nvim:mainfrom
mr-majkel:nomodified
Jul 21, 2021
Merged

prevent modified flag switch for httpResult#34
NTBBloodbath merged 1 commit intorest-nvim:mainfrom
mr-majkel:nomodified

Conversation

@mr-majkel
Copy link
Copy Markdown
Contributor

Hi @NTBBloodbath, currently httpResult buffer gets modified flag set to true (there is a plus sign on the statusline) if it is reused for another query. This can lead some users (like me;)) to be asked to save or discard the buffer contents. By changing the buftype option of the httpResult to nofile, makes modified flag to be ignored.

Btw. would you consider changing the stylua indentention to spaces? I think it is more common pattern both across lua neovim plugins, and more professional lua projects, see luarocks for example.

@NTBBloodbath
Copy link
Copy Markdown
Member

Hey, thank you for that improvement. Being honest i didn't noticed because I always do :wqa for exiting :p

And sure, I'll do that change in a few minutes :)

@NTBBloodbath NTBBloodbath merged commit 67f86bc into rest-nvim:main Jul 21, 2021
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.

2 participants