Skip to content

Commit f1b4005

Browse files
author
Andrew Ferrier
committed
feat: Add alternative comparison table
1 parent e555b35 commit f1b4005

File tree

1 file changed

+42
-25
lines changed

1 file changed

+42
-25
lines changed

README.md

+42-25
Original file line numberDiff line numberDiff line change
@@ -262,28 +262,45 @@ If it helps to understand these, you can look at the built-in configurations in
262262
There's [an issue to look at ways of improving
263263
this](https://github.com/andrewferrier/debugprint.nvim/issues/20).
264264

265-
## Alternatives / Competitors
266-
267-
* [vim-debugstring](https://github.com/bergercookie/vim-debugstring) - the
268-
plugin which inspired this one. Appears to be unmaintained, written in VimL.
269-
Doesn't support some of the fancier features of debugprint like picking up
270-
treesitter-derived identifiers automatically.
271-
272-
* [refactoring.nvim](https://github.com/ThePrimeagen/refactoring.nvim) -
273-
smaller set of capabilities than debugprint, supports a slighter smaller
274-
set of languages.
275-
276-
* [vim-printer](https://github.com/meain/vim-printer) - written in VimL. Supports
277-
the equivalent of debugprint's variable lines only. Doesn't support some of the richer
278-
customization of debugprint.
279-
280-
* [vim-printf](https://github.com/mptre/vim-printf) - written in VimL. Supports
281-
the equivalent of debugprint's variable lines only. Doesn't support some of the richer
282-
customization of debugprint.
283-
284-
* [logsitter](https://github.com/gaelph/logsitter.nvim) - supports a smaller
285-
set of languages and no default keymappings.
286-
287-
* [debuglog](https://github.com/smartpde/debuglog) - specifically designed for
288-
debugging NeoVim lua plugins. Richer facilities for that (e.g. can turn off
289-
messages), but does not support other languages.
265+
## Alternative Feature Comparison
266+
267+
(This table is quite wide, you may need to scroll horizontally)
268+
269+
| Feature | `debugprint.nvim` | [vim-debugstring](https://github.com/bergercookie/vim-debugstring) | [printer.nvim](https://github.com/rareitems/printer.nvim) | [refactoring.nvim](https://github.com/ThePrimeagen/refactoring.nvim) | [vim-printer](https://github.com/meain/vim-printer) | [vim-printf](https://github.com/mptre/vim-printf) | [logsitter](https://github.com/gaelph/logsitter.nvim) |
270+
| -------------------------------------------- | ----------------- | ------------------------------------------------------------------ | --------------------------------------------------------- | -------------------------------------------------------------------- | --------------------------------------------------- | ------------------------------------------------- | ----------------------------------------------------- |
271+
| Print plain debug lines | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
272+
| Print plain debug lines using treesitter | :x: | :x: | :x: | :x: | :x: | :x: | :+1: |
273+
| Print variables using current word/heuristic | :x: | :+1: | :x: | :x: | :+1: | :+1: | :x: |
274+
| Print variables using treesitter | :+1: | :x: | :x: | :+1: | :x: | :x: | :x: |
275+
| Print variables/expressions using prompts | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
276+
| Print variables using motions | :+1: | :x: | :+1: | :x: | :x: | :x: | :x: |
277+
| Print variables using visual mode | :+1: | :x: | :+1: | :+1: | :+1: | :x: | :x: |
278+
| Print debug lines above/below current line | :+1: | :x: | (only via global config) | :x: | :+1: | :x: | :x: |
279+
| Command to clean up all debug lines | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
280+
| *Built-in support for:* | - | - | - | - | - | - | - |
281+
| arduino | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
282+
| bash/sh | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
283+
| C | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
284+
| C# | :x: | :x: | :+1: | :+1: | :x: | :x: | :x: |
285+
| C++ | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |
286+
| CMake | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
287+
| dart | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
288+
| Docker | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
289+
| fish | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
290+
| Fortran | :x: | :+1: | :x: | :x: | :+1: | :x: | :x: |
291+
| Golang | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :+1: |
292+
| Haskell | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
293+
| Java | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |
294+
| Javascript/Typescript | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :+1: |
295+
| lua | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :+1: |
296+
| GNU Make | :+1: | :+1: | :x: | :x: | :x: | :x: | :x: |
297+
| Perl | :x: | :+1: | :x: | :x: | :x: | :x: | :x: |
298+
| PHP | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
299+
| Python | :+1: | :+1: | :+1: | :+1: | :+1: | :x: | :x: |
300+
| Ruby | :+1: | :+1: | :x: | :+1: | :x: | :x: | :x: |
301+
| Rust | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
302+
| VimL | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
303+
| zsh | :+1: | :+1: | :+1: | :x: | :+1: | :x: | :x: |
304+
| Add custom filetypes (doced/supported) | :+1: | :x: | :+1: | :x: | :x: | :+1: | :+1: |
305+
| Customizable callback formatter | :x: | :x: | :+1: | :x: | :x: | :x: | :x: |
306+
| Implemented in | Lua | VimL | Lua | Lua | VimL | VimL | Lua |

0 commit comments

Comments
 (0)