Results 498 comments of xaizek

I'm not sure Vim9 will improve performance by much, python and libclang do most of the work anyway. You can give it a try and measure, however using Vim9 will...

Try with ``` let g:clang_library_path='/usr/lib64/llvm/' ``` This option specifies directory.

Right, looks like `clang_library_path` can point to a directory as well. I forgot about it.

I don't think there is any conflict. Could it be that `g:clang_make_default_keymappings` isn't `1` for you so `s:old_cr` doesn't even get defined?

Looks like since 72eabd5 that code is part of `s:StopMonitoring()`, maybe not all original logic was preserved.

Well, I just hinted on what might be the reason, but I'm not using neither auto_pairs nor clang_complete at the moment, so wasn't planning to configure everything and try to...

Well, unfortunately for the project you're pretty much out of luck waiting for anyone else with push access to respond. See `issue559` branch, I haven't tested it, but if `72eabd5`...

@fleischie, thanks for testing it. I've added 2bdcbc944b132c832a0cd0209290cd1d8004d1e9 which tries to address the recursion, `b:snippet_chosen` should always be reset on entering `s:TriggerSnippet()`. Not sure about `46_AutoPairsReturn` though.

Looking at auto-pairs https://github.com/jiangmiao/auto-pairs/blob/f0019fc6423e7ce7bbd01d196a7e027077687fda/plugin/auto-pairs.vim#L571-L572 execute 'inoremap '.old_cr.'AutoPairsReturn' It seems that clang_complete mangles its mapping somehow. As if it mixes some from auto-pairs and some from clang_complete. In a newly opened...

Looks like clang_complete turns something like this: inoremap PairsReturn into inoremap PairsReturn And because it's `noremap`, `PairsReturn` in right-hand side doesn't get expanded. We lack ``, but `maparg()` doesn't report...