> On Jan 14, 2022, at 6:20 AM, Bram Moolenaar <b...@moolenaar.net> wrote: > > > Christian J. Robinson wrote: > >> With the "import autoload 'CaseRegression.vim'" you can use "echo >> CaseRegression#CaseRegression()" on Linux, but on Windows it has to be >> "echo caseregression#CaseRegression()". This inconsistency is the problem >> I'm facing. > > Is that at the script level or in a :def function? Or both?
I'm using the # form in mappings because the . form is unavailable at that point. > You can try changing get_autoload_prefix() to always use vim_strsave() > instead of strlow_save() on windows. But I wonder what else will fail > then. Right now I'm just working around it on Windows by creating a reference to the proper case. if !has('fname_case') g:CaseRegression#CaseRegression = CaseRegression CaseRegression endif -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/D5E35744-168A-49C6-AA99-298D02AF709C%40gmail.com.
smime.p7s
Description: S/MIME cryptographic signature