diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-01 21:29:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 21:29:14 +0800 |
commit | afb70eba8cdfc44b3633bdb91a1554b86b06a5d0 (patch) | |
tree | 77675ef5fc7d24c9c9ff1dbc560fc715a55f0aa5 /test/functional/ui | |
parent | 78010910625aab8ef41658f35fc1fa68162f6852 (diff) | |
parent | 51fd328184fcb33b105775cc426132f2e18528bc (diff) | |
download | rneovim-afb70eba8cdfc44b3633bdb91a1554b86b06a5d0.tar.gz rneovim-afb70eba8cdfc44b3633bdb91a1554b86b06a5d0.tar.bz2 rneovim-afb70eba8cdfc44b3633bdb91a1554b86b06a5d0.zip |
Merge pull request #23789 from luukvbaal/spell
vim-patch:9.0.{1585,1595}
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/spell_spec.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/functional/ui/spell_spec.lua b/test/functional/ui/spell_spec.lua index 630d0d0948..d18e19e5b2 100644 --- a/test/functional/ui/spell_spec.lua +++ b/test/functional/ui/spell_spec.lua @@ -178,6 +178,30 @@ describe("'spell'", function() {0:~ }| | ]]) + -- Adding an empty line does not remove Cap in "mod_bot" area + feed('zbO<Esc>') + screen:expect([[ + This line has a {1:sepll} error. {2:and} missing caps and trailing spaces. | + ^ | + {2:another} missing cap here | + {10:+-- 2 lines: Not·······························································}| + {2:and} here. | + {0:~ }| + {0:~ }| + | + ]]) + -- Multiple empty lines does not remove Cap in the line after + feed('O<Esc><C-L>') + screen:expect([[ + This line has a {1:sepll} error. {2:and} missing caps and trailing spaces. | + ^ | + | + {2:another} missing cap here | + {10:+-- 2 lines: Not·······························································}| + {2:and} here. | + {0:~ }| + | + ]]) end) -- oldtest: Test_spell_compatible() |