aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-14 23:48:42 +0200
committerGitHub <noreply@github.com>2021-10-14 23:48:42 +0200
commit5fd4557573c73a6b41b702b1ee39151b5bd7e5fd (patch)
treea61420011ff628034dbe33cdcc160d7eed6a94f7 /src/nvim/indent.c
parent88e16a7f30b23c03c2207086f613190e685a67c3 (diff)
parent24a1880866b1b7f6cb74b7ac4fe9fbecd678bbe1 (diff)
downloadrneovim-5fd4557573c73a6b41b702b1ee39151b5bd7e5fd.tar.gz
rneovim-5fd4557573c73a6b41b702b1ee39151b5bd7e5fd.tar.bz2
rneovim-5fd4557573c73a6b41b702b1ee39151b5bd7e5fd.zip
Merge pull request #16014 from dundargoc/refactor/reduce-char-casts
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.