Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Update section on vimscript options for vim.opt #63

Closed
clason opened this issue May 28, 2021 · 2 comments 路 Fixed by #64
Closed

Update section on vimscript options for vim.opt #63

clason opened this issue May 28, 2021 · 2 comments 路 Fixed by #64

Comments

@clason
Copy link

clason commented May 28, 2021

neovim/neovim#13479 just got merged 馃帀 with the following changes:

  • vim.o (set global option) was renamed to vim.go
  • a new vim.o was added that behaves (essentially) like set (is expected to -- meaning there may be weird corner cases)
  • vim.opt was added to allow a more "luanatic" way of setting and getting (in particular, appending) options.

The docs are quite good and explicit, so maybe it's not necessary to repeat much (or just copy the examples from the docs), but the change in vim.o meaning should be reflected.

nanotee added a commit that referenced this issue May 29, 2021
Addresses part of #63, will add `vim.opt` later
@nanotee
Copy link
Owner

nanotee commented May 31, 2021

Thank you (once again!) for the reminder. Hopefully what I've added in 40d7b05 and #64 is sufficient. Very exciting feature!

@clason
Copy link
Author

clason commented May 31, 2021

No worries! Sorry for just dropping these reminders on you rather than actually helping out with a PR...

And thanks (again!) for this excellent guide, it's really helpful!

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

Successfully merging a pull request may close this issue.

2 participants