aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2021-10-13 13:25:27 +0200
committerDundar Göc <gocdundar@gmail.com>2021-10-13 18:26:18 +0200
commit24a1880866b1b7f6cb74b7ac4fe9fbecd678bbe1 (patch)
treeb5b8a04dc4af2bb4be6687fe57f624b08797640a /src/nvim/indent.c
parent33e79237bc003e8d6d556bf1b6a6e292bb8945e5 (diff)
downloadrneovim-24a1880866b1b7f6cb74b7ac4fe9fbecd678bbe1.tar.gz
rneovim-24a1880866b1b7f6cb74b7ac4fe9fbecd678bbe1.tar.bz2
rneovim-24a1880866b1b7f6cb74b7ac4fe9fbecd678bbe1.zip
refactor: reduce number of unique char casts
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r--src/nvim/indent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c
index a3ee3983e5..f49aff6643 100644
--- a/src/nvim/indent.c
+++ b/src/nvim/indent.c
@@ -533,7 +533,7 @@ int get_expr_indent(void)
colnr_T save_curswant;
int save_set_curswant;
int save_State;
- int use_sandbox = was_set_insecurely(curwin, (char_u *)"indentexpr", OPT_LOCAL);
+ int use_sandbox = was_set_insecurely(curwin, "indentexpr", OPT_LOCAL);
// Save and restore cursor position and curswant, in case it was changed
// * via :normal commands.