Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:13
    tnyeanderson ready_for_review #378
  • 07:12
    tnyeanderson commented #378
  • 07:07
    tnyeanderson synchronize #378
  • 07:05
    tnyeanderson synchronize #378
  • 06:34
    tnyeanderson converted_to_draft #378
  • 06:34
    tnyeanderson commented #378
  • 06:26
    tnyeanderson edited #378
  • 06:26
    tnyeanderson synchronize #378
  • 06:25
    tnyeanderson review_requested #378
  • 06:24
    tnyeanderson ready_for_review #378
  • 06:24
    tnyeanderson commented #378
  • 06:19
    tnyeanderson synchronize #378
  • 05:53
    tnyeanderson synchronize #378
  • Sep 28 12:06
    baggiponte commented #301
  • Sep 25 00:57
    amarakon commented #301
  • Sep 13 14:55
    alerque commented #378
  • Sep 13 14:55
    alerque commented #378
  • Sep 09 16:04
    tnyeanderson commented #378
  • Sep 08 14:32
    baggiponte commented #301
  • Sep 05 16:00
    Hipomenes commented #436
Felipe Morales
@fmoralesc
darosio, it is untested with python3, i can probably take a look this week
darosio
@darosio
Thank you. It would be great. I tried to force the setlocal (skipped in autoload/pandoc/completion.vim), but did not work. I use vim for python3 programming and does not like to go back and forth vim-python2 and vim-python3.
Felipe Morales
@fmoralesc
i understand. i've been going back and forth this week fixing python3 compatibility issues in my plugins, it's not been fun. i blame vim's way of supporting python, of course.
i'm taking a look, btw, i might even fix it today.
Felipe Morales
@fmoralesc
@darosio just pushed a fix for master, please confirm.
darosio
@darosio
@fmoralesc thankyou for the fix. I still have problems:
in python2 I got
Error detected while processing function pandoc#completion#Complete..pandoc#bibliographies#GetSuggestions:
line 3:
in python3 I do not get errors, but also no completion.
how can I help you?
darosio
@darosio
in python2 I got
Error detected while processing function pandoc#completion#Complete..pandoc#bibliographies#GetSuggestions:
line 3:
in python3 I do not get errors, but also no completion.
how can I help you?
Felipe Morales
@fmoralesc
oh, i can confirm. first, there was an oversight on my part about python 3. but i also get some error abour vim_pandoc not being defined, I'll see what I can do.
darosio
@darosio
I never wrote a vim plugin, but naively
let s:python = {} looks more python than vim
Felipe Morales
@fmoralesc
viml is pretty similar to python.
darosio
@darosio
Great good to know. Thanks I am eager to test your next push.
Felipe Morales
@fmoralesc
that idiom can be used to create "objects" of a sort. i don't use that much, though.
OK, i think I did it. Please confirm.
darosio
@darosio
Felipe, vim-python2 is back in working conditions.
vim-python3 is running echoing "searching", but then stops with a brief appearance of "pattern not found".
Felipe Morales
@fmoralesc
OK, let me take a look at that.
what is the query? Can you provide the bib file?
darosio
@darosio
what you mean by query? I was editing a manuscript with a bib containing over 2000 items. I try to simplify my testing.
Felipe Morales
@fmoralesc
i mean, what was the item you wanted to complete. like if you had "@Huy" and wanted to complete "@Huygens", the query is "Hyu".
s/Hyu/Huy
darosio
@darosio
I tried different queries, but now i try to reproduce with a simplified bib file, so that I can share more easily.
Felipe Morales
@fmoralesc
I just tried with a small bib, and it worked, so it might be choking on some input with the other file (that's why I asked for the queries). I might need to adapt the completer to handle python3's unicode handling. Also, are you using the "legacy" completer or the "citeproc" based one?
I can reproduce the problem now with the "citeproc" method.
darosio
@darosio
Yep I can confirm it is working on a different (cleaner) machine.
You are also right the non working machine was using citeproc, while the working one was using the legacy
darosio
@darosio
Setting back legacy from citeproc makes things working, and much much faster!
Felipe Morales
@fmoralesc
yeah, legacy is quite fast, but less featureful.
anyway, i'll try to fix the issues with the citeproc mode, it assumes python2's idioms.
darosio
@darosio
Ok Great. I will be away for a while. I can get back tonight (in italy in 2-3 hours from now)
Felipe Morales
@fmoralesc
No problem. I'm in GMT-3 timezone, so I might not be around, but if you are lucky it will be fixed by then.
If "we" are lucky, I should say. lol.
darosio
@darosio
You "we" have been lucky; it works both python2 and 3, through both citeproc and legacy. Thank you. I really appreciated your efforts.
Felipe Morales
@fmoralesc
:)
Dmytri Kleiner
@dmytri
Het
hey
Felipe Morales
@fmoralesc
Hi
Dmytri Kleiner
@dmytri
I noticed that endash and emdash where not support in conceal mode in vim-pandoc-syntax
I added them to my local version
Felipe Morales
@fmoralesc
I disabled that, it clashed with the tables highlighting
feel free to open a PR if you want, perhaps your version works better than what I had ;)
fmoralesc @fmoralesc goes out for a second
Dmytri Kleiner
@dmytri
doubt it, i just use /--[^-]/ and /---/ so that likely would still clash, does tables highlighting require the tables module or is it built in?
(I suppose there must be a way to distinguish them, otherwise pandoc itself would not work)
Felipe Morales
@fmoralesc
yes, it is built in
i might make those rules opt-in, i guess they clashing will depend on the users documents; i personally have never used tables, for example
Dmytri Kleiner
@dmytri
ok, I submitted a PR, if it's usefull
Felipe Morales
@fmoralesc
thanks
Dmytri Kleiner
@dmytri
would clash with tables if the table underlines are three or two dashes, but not otherwise
i.e. it wont mach 4 dashes, or dashes at the beginning or end of the line