formatter.nvim
vim-ultest
formatter.nvim | vim-ultest | |
---|---|---|
37 | 13 | |
1,284 | 379 | |
- | - | |
7.0 | 0.0 | |
7 days ago | about 1 year ago | |
Lua | Python | |
MIT License | 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.
formatter.nvim
-
null-ls will be archived
Can anyone explain why someone would use null-ls if you're using the modern lsp setup (say, from kickstart.nvim). I see comments mentioning formatting. I see formatters mentioned several times. Why not just use https://github.com/mhartington/formatter.nvim?
-
How to setup formatter for Python ???
I use null-ls (https://github.com/jose-elias-alvarez/null-ls.nvim), I haven't tried it for python, but haven't had trouble with lua, js, ts or rust. You can also look into formatter.nvim (https://github.com/mhartington/formatter.nvim).
-
Scalafmt and neovim
I use formatter.nvim for formatting
-
Does a language server replace ALE, syntastic, and the language plugin?
For formatting, formatter.nvim is a good choice and has similar setup to nvim-lint.
-
lsp.vim.buf.format parameters make tab indent 4 spaces
I finally installed this formatter plugin and configured it to execute de clang-format command like this
-
A Minimal Neovim Configuration for TypeScript Development featuring Lazy.nvim, LSP, Tree-Sitter, Prettier, Guess-Indent
mhartington/formatter.nvim is used for automatic code formatting. Its configuration also shows how to use nvim_create_augroup and nvim_create_autocmd from Lua.
-
Editing the same file in a split causes vim to jump to the top of the file when saving with autoformatter
This might have something to do with extmarks being clobbered when the new text is written. For example, here is a GitHub issue describing the problem: https://github.com/mhartington/formatter.nvim/issues/22 This is for formatter.nvim, but this would likely apply to any process that rewrites the whole buffer.
-
autoformat with lsp-zero
i have always had trouble with lsp formatting and null-ls (may just be me, i'm not super clued in) so i use formatter.nvim https://github.com/mhartington/formatter.nvim/
-
Neovim not formatting code correctly like VSCode does (prettier)
Take a look at formatter.nvim
-
How does vim.lsp.buf.format() deal with multiple attached LSP clients?
I've had really good experience with formatter-nvim.
vim-ultest
-
neotest: A modern, powerful testing plugin
How about https://github.com/rcarriga/vim-ultest ?
-
Your lualine custom features
I have one that's half working for ultest. I haven't bothered to get the colors right.
-
FAVOURITE PLUGINS
vim-test & vim-ultest (also essential for work)
-
Debugging in NeoVim
Vim-UltestHelps to debug quickly and easily
- Gathering suggestions for testing/tasks-running plugins
- Make live unit testing work in Neovim and you will have my undying appreciation.
-
debugpy.nvim: Command and API frontend to nvim-dap and Debugpy (debugging Python)
But I haven't yet set up anything properly other than Debugpy. nvim-dap is very barebones, so I feel that the best way is to have an extra configuration plugin on top. Debugpy.nvim is a very specific frontend plugin, but there are also more general plugins like nvim-metals and vim-ultest which also offer integration with nvim-dap.
-
What's the best tool for testing?
Love seeing my plugins in the wild! Just FYI for anyone reading vim-ultest has an integration with nvim-dap which allows you to write debugging configs for any language and debug tests. There are currently recipes for python and go but I'd love to see more added! https://github.com/rcarriga/vim-ultest/wiki/Debugging-Recipes
-
Populate quickfix from a tmux pane
Another thing I use for tests is https://github.com/rcarriga/vim-ultest which allows running the test and seeing the output inside vim, which works quite nice once I have narrowed down the test file that has the failing test.
- Java/Kotlin developers that use NeoVim as their main IDE, recommendations to someone that uses Intellij IDEA for java-dev but nvim for the rest?
What are some alternatives?
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
vim-test - Run your tests at the speed of thought [Moved to: https://github.com/vim-test/vim-test]
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
neovim-remote - :ok_hand: Support for --remote and friends.
vim-clang-format - Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, and so on.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.
telescope-dap.nvim - Integration for nvim-dap with telescope.nvim
efm-langserver - General purpose Language Server
vim-test - Run your tests at the speed of thought