neoformat
trouble.nvim
Our great sponsors
neoformat | trouble.nvim | |
---|---|---|
16 | 59 | |
1,943 | 4,722 | |
- | - | |
6.9 | 7.6 | |
23 days ago | 9 days ago | |
Vim Script | Lua | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
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.
neoformat
-
formatting Lua code
I see that AstroNvim uses null-ls.nvim to format files. That does not format Markdown tables, so I added use of the Neoformat plugin to do that. But there is a major issue that I described here: https://github.com/sbdchd/neoformat/issues/457.
-
what is the nvim lsp equivalent to ale's :ALEFix ?
hi, this is perfect!!! Thanks for recommending. here is a link for anyone curious: https://github.com/sbdchd/neoformat
-
Format SQL string on save in Go file
You could use Neoformat, and manually run :NeoFormat! pgFormater on a visual selection or create an autocmd to do the same automatically on save.
-
Does diagnostic-ls, efm-ls, and null-ls basically do the same thing?
I like https://github.com/sbdchd/neoformat for that usecase. I was able to simplify my init.lua a lot by switching from null-ls.
-
Introducing mason.nvim
Pick your poison (in no particular order): - au BufWritePre *.py %!isort -d - - https://github.com/sbdchd/neoformat - https://github.com/mhartington/formatter.nvim - https://github.com/jose-elias-alvarez/null-ls.nvim - ...
-
How to use ESLINT formatter in neovim like vscode?
For me, neoformat is the best ๐
-
Code Formatter for Neovim for Common Languages
NeoFormat
-
Vim 2022: format your code in real-time !!
There are plenty of code-formatting plugins, like auto-format and neoformat, for vim. But all of them require running a certain command or using :w to trigger formating.
-
Autofix missing spaces for test operators in bash
You can use it with neoformat, they have instructions in the README to set up formatting on save. Which is what you want. Or you could create an autocommand/mapping to run shfmt on the current buffer without having to install a plugin.
-
Neovim and react
Formatting - I just use prettier with neoformat. For indent size, I just do setlocal tabstop=2 shiftwidth=2 softtabstop=2 within ftplugin/javascriptreact.vim (and others - probably a better way to do this but it works).
trouble.nvim
-
How to copy LSP diagnostics from folke/trouble to quickfix window?
Does anyone know if it's possible to copy the LSP diagnostics (which currently is being displayed using folke/trouble to the quickfix window?
-
Help with trouble.nvim
A newbie here, I used jose-elias-alvarez/null-ls.nivm for diagnostics and formatting, but I recently discovered folke/trouble.nvim and for me, it seems like a better option However, I don't know if it supports formatting and linting, I don't even know if it is an alternative to null-ls. So I need your help, can trouble.nvim replace null-ls? If not, can I use both of them simultaneously?
-
How can i get better looking errors?
Trouble
-
How do I get neovim to only show LSP errors as underline squiggles and not in the gutter?
Looking at the screenshot here for example https://github.com/folke/trouble.nvim they show errors both in the gutter and underlined.
-
Neovim vs VSCode Neovim - what are the tradeoffs?
All you need is just the LSP working (with linter, formatter and diagnostics) and telescope. Seriously, telescope is the GOAT, way faster than a file tree, you end up using the filetree only to move, create and delete files/folders but if it's just for that, you might as well use the terminal instead. For the LSP, it's not only autocompletion and hints at hover but formatting and diagnostics. I use lsp-zero + null-ls + trouble. I exposed all of the keybindings on those so I can at least open my own configs for guidance. Oh yeah, having treesitter is probably a must too, and it has no keybindings on its base form.
-
Is it possible to close todo-comment/trouble's floating window after pressing enter on an item?
I am referring this as well as this this plugin.
-
Video: 5 Neovim Plugins To Improve Your Productivity
Trouble: https://github.com/folke/trouble.nvim
-
People who migrated from vscode
Trouble is so good for finding errors easily. For testing I use jest so I haven't had too many issues. What do you test with?
-
Any recommended plugins to frictionlessly see lsp references in a perhaps a popup window?
I like trouble.nvim
-
Disabling PEP diagnostics errors/warnings in LazyVim
I guess LazyVim uses https://github.com/folke/trouble.nvim for it. I should config it to not including errors regarding standardization.
What are some alternatives?
formatter.nvim
impatient.nvim - Improve startup time for Neovim
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
lsp-trouble.nvim - ๐ฆ A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing. [Moved to: https://github.com/folke/trouble.nvim]
vim-clang-format - Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, and so on.
AutoSave.nvim - ๐งถ Automatically save your changes in NeoVim [Moved to: https://github.com/Pocco81/auto-save.nvim]
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.