Fork me on GitHub
#conjure
<
2021-02-15
>
nate01:02:06

I'm seeing a bit of an odd behavior with the latest Conjure develop branch

nate01:02:24

If I run ,ef or any other mapping to evaluate code, my buffer is marked as modified

nate01:02:50

doesn't seem to affect v4.10.0

nate01:02:15

trying to narrow it down

nate01:02:04

v4.13.0 is fine too

nate01:02:13

The first commit that has the bug for me is 4108f7c

Olical10:02:02

Oh no! So sorry to hear that. Do you happen to have vim-repeat installed?

Olical10:02:44

Hmm, I can't reproduce this with or without vim-repeat :thinking_face: guessing it's something else conflicting.

Olical11:02:48

Oh! Maybe your prefix / localleader is single quote?

Olical11:02:28

Is develop any different for you now? I changed how I'm quoting / escaping things, should be safe in all cases now.

dharrigan12:02:15

Can't say I observed what Nate saw (probably because I didn't pay attention), but so far, for me, if I do ,eb, the buffer is not marked modified

dharrigan12:02:46

,ef shows no modifications either. Here's hoping it's okay for Nate now 🙂

Olical13:02:57

I have a feeling it was some vimscript I was concatenating together and evaluating (which included a single quoted string) conflicting with a mapping that included a single quote (thus, closing the string early) and causing weird things to happen. Complete guess and possibly wrong, but I still fixed that string building and escaping so this can't happen. Maybe there's another issue out there, but that was definitely a hole that needed fixing.

nate15:02:02

hm... I do have vim-repeat installed and , is my leader

nate15:02:17

let me try latest develop

nate15:02:53

yup, still happens

nate15:02:02

I'll have to dig through my vim config and see what's causing this

nate15:02:55

glad to hear it's not happening for others

nate15:02:11

@U38J3881W I was using a very old version of vim-repeat. I updated to the latest and the problem went away

dharrigan15:02:44

I can recommend using vim plug to update regularly 🙂

nate15:02:54

I'm an old pathogen user still

nate15:02:33

keep meaning to try out these newer plugin managers

nate15:02:45

I'll check out vim plug

Olical16:02:02

Oh nice! Well I fixed a potential bug anyway 😅 so I guess vim-repeat changed their API at some point :thinking_face: