aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-05-28 08:24:48 -0700
committerGitHub <noreply@github.com>2021-05-28 17:24:48 +0200
commit43956dea55a49a847a0f2e5d9e0f48384cb34635 (patch)
tree673f3572cb43fab0f79302280bc03b6afc975bcd /src/nvim/option.c
parent192ea01eddbc7508055f855f2afc4dd397d992b1 (diff)
downloadrneovim-43956dea55a49a847a0f2e5d9e0f48384cb34635.tar.gz
rneovim-43956dea55a49a847a0f2e5d9e0f48384cb34635.tar.bz2
rneovim-43956dea55a49a847a0f2e5d9e0f48384cb34635.zip
lua: Add vim.opt and fix scopes of vim.o (#13479)
* lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 335fa1cb62..67fb78bcc8 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -4883,7 +4883,7 @@ int get_option_value_strict(char *name,
if (p->flags & P_STRING) {
*stringval = xstrdup(*(char **)(varp));
} else if (p->flags & P_NUM) {
- *numval = *(long *) varp;
+ *numval = *(long *)varp;
} else {
*numval = *(int *)varp;
}