NotAShelf / nvf

A highly modular, extensible and distro-agnostic Neovim configuration framework for Nix/NixOS.
https://notashelf.github.io/nvf/
MIT License
155 stars 24 forks source link

modules/autopairs: use boolToString instead of toLuaObject #317

Closed diniamo closed 2 months ago

diniamo commented 2 months ago

Not that important, but I didn't realize that function existed before

NotAShelf commented 2 months ago

toLuaObject should automatically apply the correct type (which in this case, is a string). Not sure if this change is really necessary. But it is probably a more concise solution.