Skip to content

Fix #1 for user which not compiled vim with perl #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 23, 2012
Merged

Fix #1 for user which not compiled vim with perl #2

merged 3 commits into from
Apr 23, 2012

Conversation

stephpy
Copy link
Contributor

@stephpy stephpy commented Apr 19, 2012

  • Replaces tabs by spaces
  • Fix Error add_ok #1 for user which not compiled vim with perl

I replaced too

 exe ":sign place 4782 name=" . sign . " line=" . line . " file=\".expand(\"%:p\")"

by

exe ":sign place 4782 name=" . sign . " line=" . line . " file=\"".expand("%:p")."\""

I did not test it coz i did not compiled my vim with perl yet, but it seems to be good.

When i'll find time, i'll look at how to implement this for non perl vim ...

@stephpy
Copy link
Contributor Author

stephpy commented Apr 22, 2012

I see, the only one error is than line and file vars are prefixed by <ac>, i'll look at how to delete this char ...

@stephpy
Copy link
Contributor Author

stephpy commented Apr 22, 2012

I just change the position of pos var ... to not retrieve the <ac> char ... Coz i did not find how to delete this char.

Can you test it with perl extension, i would not want to break this bundle when vim is compiled with perl.

I you have any idea to substitute <ac> ...

@joonty
Copy link
Owner

joonty commented Apr 23, 2012

Thanks for this, looks good! I'll give it a go with and without Perl, and will add the latest on vim.org if everything works.

joonty added a commit that referenced this pull request Apr 23, 2012
Fix non-perl highlighting, closes #1
@joonty joonty merged commit 7a55ddb into joonty:master Apr 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error add_ok
2 participants