On Thu, Mar 27, 2025 at 08:36:28AM -0000, Steven H. wrote:
> and if I continue typing on the second line, that line gets highlighted
> with a different background.

because hlsearch is on which is a good thing. update:

command -nargs=0 ArgIndent {
        var s = @/
        s!\v^((\s*)(\S+\s*).*%#)(.*)!\=ArgIndentRhs()!
        @/ = s
}
inoremap \\<cr> \<c-o>:ArgIndent<cr>
set ai ci noet

> and placing the cursor on 'f' gives:

> one␣two␣three␣\⏎
>         
> ␣␣␣␣four⏎ 

here I have

one two three f\
    our

which works as expected. And for now your output makes no sense to me.
I'll came back on it later.

regards.

-- 
Marc Chantreux

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/Z-USFrklDjP2wSrX%40prometheus.

Reply via email to