Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Plugin does not work well on Vim 7.3 #4

Open
miquelbeltran opened this issue Jan 4, 2015 · 3 comments
Open

Plugin does not work well on Vim 7.3 #4

miquelbeltran opened this issue Jan 4, 2015 · 3 comments

Comments

@miquelbeltran
Copy link

After the fix in #3 the tutorial screen didn't look nice to me, so I upgraded my vim from 7.3 to 7.4.

As you can see, it looks different in both versions.

Vim 7.3:
captura de pantalla 2015-01-04 18 24 02

Vim 7.4:
captura de pantalla 2015-01-04 18 22 38

It's not a blocking issue for me since it works well in 7.4. But I thought you may want to know.

@fmoralesc
Copy link
Owner

Thanks. I half-expected this, because vim-tutor-mode uses the conceal feature extensively, and didn't remember if 7.3 had it.

@fmoralesc
Copy link
Owner

I'll put a note on the README and the docs.

@fmoralesc
Copy link
Owner

An idea: if vim's version is < 7.4, we could pre-process the tutorials using BufPreCmd so the links are cleaner (although with less features). This way,

  press [the «x» key](x) to delete the character under the cursor

would become

 press [x] to delete the character under the cursor.

(I would have to implement a method to follow that kind of link though).

I'm not sure how this method could work for the expect clauses. Perhaps I could hide them through

:hi tutorSampleExpect guifg=bg guibg=bg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants