comparison runtime/doc/insert.txt @ 27036:3e661b0cf500

Update runtime files Commit: https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 8 21:51:59 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jan 2022 23:00:06 +0100
parents eafb9fd4ec32
children d19b7aee1925
comparison
equal deleted inserted replaced
27035:5232c68bb21d 27036:3e661b0cf500
848 contain words with similar meaning, separated by non-keyword characters (white 848 contain words with similar meaning, separated by non-keyword characters (white
849 space is preferred). Maximum line length is 510 bytes. 849 space is preferred). Maximum line length is 510 bytes.
850 850
851 For an example, imagine the 'thesaurus' file has a line like this: > 851 For an example, imagine the 'thesaurus' file has a line like this: >
852 angry furious mad enraged 852 angry furious mad enraged
853 <Placing the cursor after the letters "ang" and typing CTRL-X CTRL-T would 853 Placing the cursor after the letters "ang" and typing CTRL-X CTRL-T would
854 complete the word "angry"; subsequent presses would change the word to 854 complete the word "angry"; subsequent presses would change the word to
855 "furious", "mad" etc. 855 "furious", "mad" etc.
856 856
857 Other uses include translation between two languages, or grouping API 857 Other uses include translation between two languages, or grouping API
858 functions by keyword. 858 functions by keyword.
860 An English word list was added to this github issue: 860 An English word list was added to this github issue:
861 https://github.com/vim/vim/issues/629#issuecomment-443293282 861 https://github.com/vim/vim/issues/629#issuecomment-443293282
862 Unpack thesaurus_pkg.zip, put the thesaurus.txt file somewhere, e.g. 862 Unpack thesaurus_pkg.zip, put the thesaurus.txt file somewhere, e.g.
863 ~/.vim/thesaurus/english.txt, and the 'thesaurus' option to this file name. 863 ~/.vim/thesaurus/english.txt, and the 'thesaurus' option to this file name.
864 864
865 865
866 Completing keywords with 'thesaurusfunc' *compl-thesaurusfunc* 866 Completing keywords with 'thesaurusfunc' *compl-thesaurusfunc*
867 867
868 If the 'thesaurusfunc' option is set, then the user specified function is 868 If the 'thesaurusfunc' option is set, then the user specified function is
869 invoked to get the list of completion matches and the 'thesaurus' option is 869 invoked to get the list of completion matches and the 'thesaurus' option is
870 not used. See |complete-functions| for an explanation of how the function is 870 not used. See |complete-functions| for an explanation of how the function is