aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-10-14 09:53:15 +0100
committerGitHub <noreply@github.com>2022-10-14 09:53:15 +0100
commit9931db2e3fa43ed02e1b0bc6f167ed5398fa6369 (patch)
treeb29a3b9d45b0700da10be86c0237510a2a2f2cde /src/nvim/optionstr.c
parentd339b4aad7461937e1e03ac0836b2eb1354ff442 (diff)
parent7f11dfdef880ee98e4f18f046f21e285157d10ac (diff)
downloadrneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.tar.gz
rneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.tar.bz2
rneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.zip
Merge pull request #20545 from lewis6991/remove_cscope
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index 24ee0a1f69..be3e137b69 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -1375,23 +1375,6 @@ char *did_set_string_option(int opt_idx, char **varp, char *oldval, char *errbuf
coladvance(curwin->w_virtcol);
}
}
- } else if (varp == &p_csqf) {
- if (p_csqf != NULL) {
- p = p_csqf;
- while (*p != NUL) {
- if (vim_strchr(CSQF_CMDS, *p) == NULL
- || p[1] == NUL
- || vim_strchr(CSQF_FLAGS, p[1]) == NULL
- || (p[2] != NUL && p[2] != ',')) {
- errmsg = e_invarg;
- break;
- } else if (p[2] == NUL) {
- break;
- } else {
- p += 3;
- }
- }
- }
} else if (gvarp == &p_cino) { // 'cinoptions'
// TODO(vim): recognize errors
parse_cino(curbuf);