mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/options: improve documentation
This commit is contained in:
parent
61013ca4ab
commit
acc9c8cad1
1 changed files with 4 additions and 4 deletions
|
@ -10,28 +10,28 @@ with lib; let
|
||||||
prettyName = "options";
|
prettyName = "options";
|
||||||
luaVariableName = "options";
|
luaVariableName = "options";
|
||||||
luaApi = "opt";
|
luaApi = "opt";
|
||||||
description = "The configuration options, e.g. line numbers";
|
description = "The configuration options, e.g. line numbers (`vim.opt.*`)";
|
||||||
};
|
};
|
||||||
|
|
||||||
globalOptions = {
|
globalOptions = {
|
||||||
prettyName = "global options";
|
prettyName = "global options";
|
||||||
luaVariableName = "global_options";
|
luaVariableName = "global_options";
|
||||||
luaApi = "opt_global";
|
luaApi = "opt_global";
|
||||||
description = "The configuration global options";
|
description = "The configuration global options (`vim.opt_global.*`)";
|
||||||
};
|
};
|
||||||
|
|
||||||
localOptions = {
|
localOptions = {
|
||||||
prettyName = "local options";
|
prettyName = "local options";
|
||||||
luaVariableName = "local_options";
|
luaVariableName = "local_options";
|
||||||
luaApi = "opt_local";
|
luaApi = "opt_local";
|
||||||
description = "The configuration local options";
|
description = "The configuration local options (`vim.opt_local.*`)";
|
||||||
};
|
};
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
prettyName = "globals";
|
prettyName = "globals";
|
||||||
luaVariableName = "globals";
|
luaVariableName = "globals";
|
||||||
luaApi = "g";
|
luaApi = "g";
|
||||||
description = "Global variables";
|
description = "Global variables (`vim.g.*`)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue