BethanyG / vimscript

Exercism exercises in Vim script.

Home Page:https://exercism.org/tracks/vimscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exercism Vim script Track

Configlet Exercise Test Status

We welcome any kind of contribution!

If you have a suggestion or question, create a new issue.

For code or fixing typos and similar things, open a pull request.

Look at recent commits to get a feeling on how to format your own ones.

Even if there are any uncertainties, go for it nevertheless. We can straighten out everything in the process.

Thank you for contributing! 🎉

Linting Vim files

If you add or change a Vim file, the CI will use vint to ensure best practices. Therefore it's recommended idea to run it locally first, before creating a pull request.

  1. Install vint.
  2. Recursively lint all Vim files:
    $ vint .
    

Writing test files

Generating test files

Use the generator to create Vader files from their canonical test data:

" in Vim
:source lib/generate.vim
:Generate word-count

This would fetch the canonical test data, decode the JSON to Vim data types, iterate over the result, and put the tests in a new unnamed buffer.

About

Exercism exercises in Vim script.

https://exercism.org/tracks/vimscript

License:MIT License


Languages

Language:Vim Script 85.3%Language:Shell 14.7%