diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-12 17:26:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-09-12 17:26:59 +1200 |
commit | 8ef3a5afe3839bb9981b3ddf4f62b92bc065051e (patch) | |
tree | 5cfcff2187c8afb9d312902d2bff7231ac2aa1e8 | |
parent | Set 'backupskip', and have g:undofileskip copy it (diff) | |
download | dotfiles-8ef3a5afe3839bb9981b3ddf4f62b92bc065051e.tar.gz dotfiles-8ef3a5afe3839bb9981b3ddf4f62b92bc065051e.zip |
Remove outdated comment on 'dictionary' setting
-rw-r--r-- | vim/vimrc | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -442,8 +442,8 @@ endif " At some point, I may end up having to set this option along with 'spellfile' " a bit more intelligently to ensure that spell checking and dictionary " function consistently, and with reference to the same resources. For the -" moment, I’ve just added another entry referring to a directory in the user -" runtime directory, but I don’t have anything distinct to put there yet. +" moment, I’ve just added additional entries referring to the user runtime +" directory. " " In much the same way, we add an expected path to a thesaurus, for completion " with CTRL-X CTRL-T in insert mode, or with ‘t’ added to 'completeopt'. The @@ -454,15 +454,6 @@ endif " to remove the first two metadata lines from thesaurus.txt, as Vim appeared " to interpret them as part of the body data. " -" Extra checks for appending the 'dictionary' and 'thesaurus' paths need to be -" made, because the P_NDNAME property is assigned to them, which enforces -" a character blacklist in the option value. We check for the expected Vim -" error code here, and if the path offends, we just skip the setting entirely, -" rather than throwing cryptic errors at the user. None of the blacklisted -" characters are particularly wise characters to have in paths, anyway, legal -" though they may be on Unix filesystems. We can’t work around this one with -" 'isfname'; the blacklist is hard-coded. -" set dictionary^=/usr/share/dict/words if s:xdgdatahome !=# '' || !empty(s:xdgdatadirs) execute 'set dictionary^='.option#Escape(join(map( |