GithubHelp home page GithubHelp logo

Comments (5)

nanotee avatar nanotee commented on August 25, 2024 1

You're right, this is useful information, at least until vim.opt lands in core. I've added some info in #55

from nvim-lua-guide.

nanotee avatar nanotee commented on August 25, 2024

This used to be documented on an older commit: https://github.com/nanotee/nvim-lua-guide/blob/f37a52e4e108d72eb0903376ec486b371ea1c689/README.md#caveats-3

I decided to delete it because I wasn't 100% confident this was the right explanation and I didn't want to accidentally spread misinformation. I can restore it if you think it's still useful

As a side note, there's a PR that adds vim.opt as a convenience wrapper around Vim options and behaves a lot like the :set command, but it hasn't been merged yet. It should make it much easier to configure Neovim in Lua

from nvim-lua-guide.

itmecho avatar itmecho commented on August 25, 2024

Ah fair enough. Probably best not to if we're not sure on the reason behind it.

I'll keep an eye on that PR, thanks!

from nvim-lua-guide.

matu3ba avatar matu3ba commented on August 25, 2024

Is this merged here or what kind of explanations do you want to make? linking the issues?

from nvim-lua-guide.

ibraheemdev avatar ibraheemdev commented on August 25, 2024

I just spent half an hour figuring out why my tabstops and undo directory was not being set, and stumbled across this issue after fixing it by setting vim.o and vim.bo 😢 I think it would be very helpful to include some information about this, even if you are not 100% sure about the reason.

from nvim-lua-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.