config.nvim
neotest
config.nvim | neotest | |
---|---|---|
2 | 22 | |
5 | 2,031 | |
- | 6.9% | |
7.4 | 8.3 | |
8 months ago | 4 days ago | |
Lua | Lua | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
config.nvim
-
what do you guys use treesitter for?
For cool snippets. For example in C++, if I'm in a class "Foo" and I expand the snippet "cassd" (const assignment definition), it generates "Foo& operator=(Foo const& other);" (see config).
-
Share your most advanced (Lua)Snippets
The first is a collection of snippets for C++ that generate the declarations or definitions of the special member functions (move constructor etc.). The snippet uses treesitter to determine whether we are currently inside of a class or not. If we are inside of a class, it automatically gets the correct name of the surrounding class (without templates) and uses that to generate the member function. If we are outside of a class, you have to type in the name but it will still correctly strip templates in the right places with a simple regex. Showcase. Code.
neotest
-
Am I this bad?
My first neovim plugin project was to write an adapter (runner) for neotest, for a language that I use regularly and which was missing from the existing adapters.
- Alternative for running tests
-
Problem with running code
There's overseer.nvim to run all sorts of things and neotest to run tests. In general, you can check awesome-neovim or TWiN to look for plugins.
-
JetBrains Leavers
Here's some things that may help: - https://github.com/mfussenegger/nvim-dap + dap ui - https://github.com/nvim-neotest/neotest
-
Setting up neovim for python code development (tips wanted)
I use neotest to run tests (with pytest).
-
Is anyone using VIM full-time for PHP/Laravel projects?
For testing I use https://github.com/nvim-neotest/neotest which gives a nice outline.
-
neotest-haskell version 0.6.0 released - now with support for both tasty and hspec
For those who don't know it, it's an adapter for neotest, a Neovim plugin that
-
Creating diagnostic entries from test output
You might look at how Neotest handles this, or even see if you can use/contribute to that project directly. It already has support for a fair number of languages at varying levels of maturity.
-
I got fired yesterday for using vim
I am writing Python these days, and LSP + DAP + neotest give me 90% of what PyCharm would have given me. I don't know how well this works with Java, the latter two did not exist when I was still writing Java. The way I did it was use Neovim with jdt-ls to write code and IntelliJ for debugging. Debugging does not require switching between keyboard and mouse, so it was OK to me.
-
[discussion] Why don't more (any?) plugin authors use penlight?
I'm sure that we could figure out a way to install rocks without luarocks, but it's still going to be an additional step with possible complications. Personally, I would rather just embed the library within my plugin like neotest does with xml2lua. The marginal cost of a slightly larger install is more than paid for by an easier install process and a guarantee that it works.
What are some alternatives?
perfanno.nvim - NeoVim lua plugin that annotates source code with profiling information from perf or other profilers
overseer.nvim - A task runner and job management plugin for Neovim
LuaSnip - Snippet Engine for Neovim written in Lua.
nvim-dap-ruby
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
nvim-coverage - Displays test coverage data in the sign column
vim-ultest - The ultimate testing plugin for (Neo)Vim
nvim - My custom NeoVim setup
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
kcov - Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
dotfiles - Just a simple dotfiles setup