aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-02-06 10:01:38 +0100
committerGitHub <noreply@github.com>2023-02-06 10:01:38 +0100
commite1f03c481a1cf87cead2c5af66b36dbdfbb9a983 (patch)
tree09e75e1385c862d85a639c13df2dc876921353a1 /runtime
parent1675f0e270579036c454c38f28e650b60a3fba1a (diff)
downloadrneovim-e1f03c481a1cf87cead2c5af66b36dbdfbb9a983.tar.gz
rneovim-e1f03c481a1cf87cead2c5af66b36dbdfbb9a983.tar.bz2
rneovim-e1f03c481a1cf87cead2c5af66b36dbdfbb9a983.zip
feat(spell): also source `spell/LANG.lua` when setting `spelllang` (#22111)
Problem: only Vimscript files are sourced when setting spelling language Solution: also source Lua files after sourcing Vimscript files Closes #22110
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/spell.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 98a6af1b8b..c6c4da2dea 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -440,9 +440,9 @@ find these functions useful:
SETTING 'spellcapcheck' AUTOMATICALLY *set-spc-auto*
After the 'spelllang' option has been set successfully, Vim will source the
-files "spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
-up to the first comma, dot or underscore. This can be used to set options
-specifically for the language, especially 'spellcapcheck'.
+files "spell/LANG.vim" and "spell/LANG.lua" in 'runtimepath'. "LANG" is the
+value of 'spelllang' up to the first comma, dot or underscore. This can be
+used to set options specifically for the language, especially 'spellcapcheck'.
The distribution includes a few of these files. Use this command to see what
they do: >