LucHermitte

u/LucHermitte


r/vim•

I've added a couple of features to https://github.com/LucHermitte/vim-UT

vim-UT is a unit testing framework for vim scripts, that displays assertion failures in quick-quick window.

The plugin is meant to be simple to use and lightweight. So far the syntax was mainly dedicated, and restricted, to test the result of vim functions and expressions.

Assert 1 > 2
Assert s:foo > s:Bar(g:var + 28) / strlen("foobar")

debug AssertTxt (s:foo > s:Bar(g:var+28)
      \, s:foo." isn't bigger than s:Bar(".g:var."+28)")
AssertEquals!('a', 'a')
AssertDiffers('a', 'a')
let dict = {}
AssertIs(dict, dict)
AssertIsNot(dict, dict)
AssertMatch('abc', 'a')
As
122

r/vimplugins•

compil-hints (https://github.com/LucHermitte/vim-compil-hints) is a plugin:

  • that automatically parses quickfix entries to place signs in the edited files,
  • and that displays balloons that sum up the qf messages related to the line under the mouse pointer.

Its main other features are:

  • it works out of the box (now): no need to tell plugins that compile/grep they need to call functions from compil-hints
  • it also works (out of the box!) with asynchronous compilation/grepping
  • it's (almost) as fast as I could possibly make it
  • multiple messages pointing to a same line are merged, the worse message kind is used (error > warning > note > context)
  • It's portable, and had been t
50

r/vim•

Hi,

Discl: I'm not looking for plugins that help writing reStructuredText files.

I'm trying to upgrade the documentation of the plugins I'm maintaining to reStructuredText, and to publish the result on ReadTheDocs.

As several plugins are actually library plugins, I have many functions, commands, mappings, etc. to document. I see there exist Sphinx domains dedicated to Python, C++... but none for vim scripts.

Does anybody know whether something has been written to simplify the documentation of vim functions?

Subsidiary question: is anybody aware of a solution able to aggregate reStructuredText files into a vim-help-file? (with

62

r/vimplugins•

I've finally got tired of the syntax and indent foldmethods when working on my C++ files. So, I've rejuvenated an old fold-plugin -- that was very slow at the time. A lot of work is still required (regarding the management of commentsn and a few other things), but anyway, here is a first draft.

Comments, bug reports, RfC are welcome.

NB: in order to simplify the installation of my fold-plugin, I've extracted it from lh-cpp (as there aren't many people using vim-addon-manager -- and installing lh-cpp without it is a nightmare). But lh-vim-lib is still required.

50

You've reached the end of this feed.