Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

519 results from messages in vimdev

Advanced Search
  • On Jun 1, 2013 7:43 AM, "Marc Weber" < marco-oweber@^$1 > wrote: > > ZyX: Usually you're rigth with what you're saying. > So please help find the best forum to place your "style guides" about > "how to write unobstrusive perfect python based vim plugins". > > You all know that I've introduced this wiki: > http://vim-wiki.mawercer.de/ > > I think such (and making such official...
    ZyX ZyX Jun 1, 2013
  • > Another benefit would be (as I remember) that it would be possible to > pass around Funcrefs to script-local functions and be able to just > invoke them in any scope without the current workarounds of expanding . Not this. Workaround with expanding was merged AFAIR and it does not matter much whether it is a workaround or not as it works (well, it will matter when refactoring...
    ZyX May 31, 2013
  • > Not everything is compatible between Python 2 and 3 though. Is there a > way to do: > > if python3: > do-it-this-way > else: > do-it-that-way > > Then :pyx would really work. Is that possible without getting errors > for some code that works only in one versin? It is possible, check out powerline for example. Most of time it does not use such straightforward approach though...
    ZyX May 31, 2013
  • Fetching Sponsored Content...
  • пятница, 31 мая 2013 г., 20:17:45 UTC+4 пользователь MarcWeber написал: > There are two important problems with python support: > > 1) you still have to use .viml in order to load python > 2) when using python its you having to remember which python to use despite > most codes may work with python and python3 interpreter. > Using the same (only one...
    ZyX May 31, 2013
  • > Using strings here was just a quick way of making it work. What we > would really need is some kind of lambda function. So the argument > would be one of three types: > expression - mainly for backwards compatibility, but also allows > building the functionality from pieces. > function name or reference - for bigger functions > lamba function - for small functions > > That...
    ZyX May 31, 2013
  • пятница, 31 мая 2013 г., 20:39:15 UTC+4 пользователь mattn написал: > In addional, my patch don't remove feature that passing 'func name'. It would be better if it removed it. As I said, do make the difference between sort(list, 'Func') and sort(list, '{expr}') defined explicitely: sort(list, '{expr}', 'expr'); sort(list, '{expr}', 0); sort(list...
    ZyX May 31, 2013
  • пятница, 31 мая 2013 г., 17:14:17 UTC+4 пользователь mattn написал: > Hi all. > > filter() or map() is given {string} expression to compare the items. But sort() is given function name or funcref for that. > I hope to give expression to {func}. > > I guess this is useful to call sort(). > > :echo sort([{"foo":3},{"foo":2},{"foo":4}], "v:lhs.foo - v:rhs...
    ZyX May 31, 2013
  • пятница, 31 мая 2013 г., 13:27:21 UTC+4 пользователь Bram Moolenaar написал: > ZyX wrote: > > > > > пятница, 31 мая 2013 г., 0:06:49 UTC+4 пользователь Bram Moolenaar написал: > > > > ZyX wrote: > > > > > > > > > > > > > > > > > And this one fixes tests. And I still do not have any memory access > > > > > errors, probably...
    ZyX May 31, 2013
  • пятница, 31 мая 2013 г., 13:27:21 UTC+4 пользователь Bram Moolenaar написал: > ZyX wrote: > > > > > > > I still see a big difference between the output and what is supposed to > > > > > be the output. > > > > > > > > > > In test86 output lines 757 to 1075 are missing. It's like some part of > > > > > the test didn't run. > > > > > > > > I see the same...
    ZyX May 31, 2013
  • Sorry, missed this part of the discussion when writing my previous reply. On May 31, 2013 7:25 AM, "Shougo" < shougo.matsu@^$1 > wrote: > From your description, I think I'd rather see this as an additional value or values supported in 'completeopt'. Currently the only control over what gets inserted is "longest". If it's there, only part of the match text gets inserted, otherwise...
    ZyX ZyX May 30, 2013