Created
November 25, 2016 12:59
-
-
Save daisuzu/3e1436674e82a7ebc3b5747756d8edca to your computer and use it in GitHub Desktop.
Fix: Vim v8.0.0101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/testdir/Make_all.mak b/src/testdir/Make_all.mak | |
| index 49d2de0..f3d51c3 100644 | |
| --- a/src/testdir/Make_all.mak | |
| +++ b/src/testdir/Make_all.mak | |
| @@ -148,6 +148,7 @@ NEW_TESTS = test_arglist.res \ | |
| test_cmdline.res \ | |
| test_crypt.res \ | |
| test_cscope.res \ | |
| + test_dictionary.res \ | |
| test_diffmode.res \ | |
| test_digraph.res \ | |
| test_farsi.res \ | |
| diff --git a/src/testdir/test_dictionary.vim b/src/testdir/test_dictionary.vim | |
| new file mode 100644 | |
| index 0000000..4648ad3 | |
| --- /dev/null | |
| +++ b/src/testdir/test_dictionary.vim | |
| @@ -0,0 +1,6 @@ | |
| +" Tests for 'dictionary' | |
| + | |
| +func Test_dictionary() | |
| + set dictionary=/usr/share/dict/words | |
| + call assert_equal('/usr/share/dict/words', &dictionary) | |
| +endfunc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/option.c b/src/option.c | |
| index 52330f7..64bae01 100644 | |
| --- a/src/option.c | |
| +++ b/src/option.c | |
| @@ -992,7 +992,7 @@ static struct vimoption options[] = | |
| (char_u *)NULL, PV_NONE, | |
| #endif | |
| {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, | |
| - {"dictionary", "dict", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NFNAME, | |
| + {"dictionary", "dict", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP, | |
| #ifdef FEAT_INS_EXPAND | |
| (char_u *)&p_dict, PV_DICT, | |
| #else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment