Linting completely breaks when asked to confim a substitution with inccommand turned on.
See original GitHub issueStarting a substitution with :%s:::c
while inccommand
is set to either split or nosplit completely messes up linting and highlighting. Replacements don’t have to actually be confirmed, simply initiating a substitute command causes problems.
Replacing items without the c
flag in the substitution, or with set inccommand=
behaves as expected.
Video which demonstrates the issue: https://imgur.com/a/WOa4N6W
Screenshot:
What’s the output of :CocCommand pyright.version
coc-pyright 1.1.265 with Pyright 1.1.265
What’s the output of :CocCommand workspace.showOutput Pyright
Workspace: /home/satsu/Documents/cursewordle
Using python from /usr/bin/python
[Info - 8:32:23 PM] Pyright language server 1.1.265 starting
[Info - 8:32:23 PM] Server root directory: /home/satsu/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/
[Info - 8:32:23 PM] Starting service instance "cursewordle"
[Info - 8:32:23 PM] No configuration file found.
[Info - 8:32:23 PM] No pyproject.toml file found.
[Info - 8:32:23 PM] Setting pythonPath for service "cursewordle": "/usr/bin/python"
[Warn - 8:32:23 PM] stubPath /home/satsu/Documents/cursewordle/typings is not a valid directory.
[Info - 8:32:23 PM] Assuming Python version 3.10
[Info - 8:32:23 PM] Assuming Python platform Linux
[Info - 8:32:23 PM] Searching for source files
[Info - 8:32:23 PM] Found 6 source files
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
A quick review of LunarVim : r/neovim
I was a heavy Vim user for about 3 years, stopping in 2014 when I switched to Sublime Text 2. I had my...
Read more >Command Reference for Encounter RTL Compiler
If the output of a manpage is too small to be displayed completely on the screen, use the more command to break up...
Read more >shellcheck.md
Run script through tr -d '\r' . SC1018 This is a unicode non-breaking space. Delete it and retype as space. SC1019 Expected this...
Read more >ModelSim Command Reference Manual
MENTOR GRAPHICS SHALL NOT BE LIABLE FOR ANY INCIDENTAL, INDIRECT, SPECIAL, OR. CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS).
Read more >Stop using Page Objects and Start using App Actions
Application code can change at any moment, output a different DOM structure or different element classes, and the tests will break at runtime ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
inccommand
isnosplit
by default, check:h inccommand
. I can’t reproduce your issue.Sorry for the
:::
issue, I made it wrong with two sign.Here’s my test.
mini.vim
test code foo.py:
steps:
bar
:%s:::c
, without<cr>
to confirmtwo
bar
are removed.<cr>
to confirm:press
n
twice, no errors.:set inccommand=nosplit
, and:%s:::c
again, press<cr>
to confirm andn
twice, no errors.