Mercurial > vim
comparison src/option.c @ 17549:e5dabc127143 v8.1.1772
patch 8.1.1772: options test still fails on MS-Windows
commit https://github.com/vim/vim/commit/b78564d0221089e6dfc9c9d58239c18b991ca9fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 28 19:24:36 2019 +0200
patch 8.1.1772: options test still fails on MS-Windows
Problem: Options test still fails on MS-Windows.
Solution: Check buffer-local value of 'completeslash'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Jul 2019 19:30:04 +0200 |
parents | 77c3f6428b6c |
children | 892b4ea3bad6 |
comparison
equal
deleted
inserted
replaced
17548:ac05183a94ed | 17549:e5dabc127143 |
---|---|
7431 completeopt_was_set(); | 7431 completeopt_was_set(); |
7432 } | 7432 } |
7433 | 7433 |
7434 # ifdef BACKSLASH_IN_FILENAME | 7434 # ifdef BACKSLASH_IN_FILENAME |
7435 // 'completeslash' | 7435 // 'completeslash' |
7436 else if (varp == &curbuf->b_p_csl) | 7436 else if (gvarp == &p_csl) |
7437 { | 7437 { |
7438 if (check_opt_strings(p_csl, p_csl_values, FALSE) != OK) | 7438 if (check_opt_strings(p_csl, p_csl_values, FALSE) != OK |
7439 || check_opt_strings(curbuf->b_p_csl, p_csl_values, FALSE) != OK) | |
7439 errmsg = e_invarg; | 7440 errmsg = e_invarg; |
7440 } | 7441 } |
7441 # endif | 7442 # endif |
7442 #endif // FEAT_INS_EXPAND | 7443 #endif // FEAT_INS_EXPAND |
7443 | 7444 |