From 80a2244afcfab2c7e662a1fb839397ef75875f35 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 22 Mar 2024 09:49:45 +0000 Subject: [PATCH] docs: remove misleading `_` after `globalPrefix` `globalPrefix` is not joined using `"_"`, so it is misleading to have an underscore after it in CONTRIBUTING.md. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f501096c..651b185c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,7 +61,7 @@ There are a number of helpers to help you correctly implement them: - `helpers.nixvimTypes.rawLua`: A type to represent raw lua code. The values are of the form `{ __raw = "";}`. This should not be used if the option can only be raw lua code, `mkLua`/`mkLuaFn` should be used in this case. The resulting `settings` attrs will be directly translated to `lua` and will be forwarded the plugin: -- Using globals (`vim.g._`) for plugins using `mkVimPlugin` +- Using globals (`vim.g.`) for plugins using `mkVimPlugin` - Using the `require('').setup()` function for the plugins using `mkNeovimPlugin` In either case, you don't need to bother implementing this part. It is done automatically.