lacygoill

Results 127 comments of lacygoill

@masatake I think I can help regarding Vimscript questions. I will read the ctags manpage to better understand the concepts of `extra` and `subparser`.

> Forget "intuition" or "mental model", it is likely wrong. I don't think it's wrong, but it's incomplete. Anyway, it doesn't change the fact that I think you're right on...

Yes, you're right. Invoking `synID()` twice fixes the issue. That's how I [fixed my code](https://github.com/lacygoill/vim-help/blob/a169d97faf2536d0ae497b290b3934e35f2ea7a1/autoload/help.vim#L126-L128) for the moment. I wanted to report this, but I was trying to gather more...

No need to execute `:syntax on`: ```vim vim9script syntax region xString start=/"/ end=/"/ contains=EscapedNewline syntax match EscapedNewline /\\\n/ contained highlight link xString Search &l:conceallevel = 1 var lines =setline(1) feedkeys('jjj',...

When you type `a` in visual mode, Vim waits until the timeout to let you use the `xnoremap ac 3l` mapping. That is, maybe you intend to type `ac`, and...

> Even if first character is not mapped again, I don't see a reason why first two or three should not (apart from technical difficulties, of course). That is the...

The java syntax plugin is maintained [here](https://github.com/fleiner/vim/blob/master/runtime/syntax/java.vim). The link appears at the top of the file [here](https://github.com/vim/vim/blob/f0ccfa474a5c4940d03bfc6084e896dc8ac2d791/runtime/syntax/java.vim#L4). --- A naive patch: ```diff diff --git a/runtime/syntax/java.vim b/runtime/syntax/java.vim index 00d607194..e0b444164 100644 ---...

```diff diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index f00e44823..3313dbcaf 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -216,7 +216,7 @@ syn keyword vimFTOption contained detect indent off on plugin " Augroup : vimAugroupError removed...

I think it's good enough now. I fixed all the issues I could find, and added more tests. --- Regarding the existing tests, I changed a few. This one: let...