aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-10-21 14:47:44 +0200
committerGitHub <noreply@github.com>2022-10-21 20:47:44 +0800
commit784e498c4a9c1f03266ced5ec3f55c3a6c94b80d (patch)
tree55f79bf7e309d522a76f6efe0cb3ed631340f431 /src/nvim/syntax.c
parente554f5c545b9ee1195d617b3ac21f24829330a31 (diff)
downloadrneovim-784e498c4a9c1f03266ced5ec3f55c3a6c94b80d.tar.gz
rneovim-784e498c4a9c1f03266ced5ec3f55c3a6c94b80d.tar.bz2
rneovim-784e498c4a9c1f03266ced5ec3f55c3a6c94b80d.zip
refactor: clang-tidy fixes to silence clangd warning (#20683)
* refactor: readability-uppercase-literal-suffix * refactor: readability-named-parameter * refactor: bugprone-suspicious-string-compare * refactor: google-readability-casting * refactor: readability-redundant-control-flow * refactor: bugprone-too-small-loop-variable * refactor: readability-non-const-parameter * refactor: readability-avoid-const-params-in-decls * refactor: google-readability-todo * refactor: readability-inconsistent-declaration-parameter-name * refactor: bugprone-suspicious-missing-comma * refactor: remove noisy or slow warnings
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 527cca05f5..4934168acf 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -5304,7 +5304,7 @@ void ex_ownsyntax(exarg_T *eap)
curwin->w_s = xcalloc(1, sizeof(synblock_T));
hash_init(&curwin->w_s->b_keywtab);
hash_init(&curwin->w_s->b_keywtab_ic);
- // TODO: Keep the spell checking as it was. NOLINT(readability/todo)
+ // TODO(vim): Keep the spell checking as it was.
curwin->w_p_spell = false; // No spell checking
// make sure option values are "empty_option" instead of NULL
clear_string_option(&curwin->w_s->b_p_spc);