flash.nvim
null-ls.nvim
flash.nvim | null-ls.nvim | |
---|---|---|
9 | 164 | |
1,997 | 3,554 | |
- | - | |
9.0 | 0.0 | |
11 days ago | 9 months ago | |
Lua | Lua | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
flash.nvim
-
What is a Treesitter Search?
I came across this term in https://github.com/folke/flash.nvim but couldn't figure out how to use this Search method.
-
A way to go to surrounding treesitter nodes
flash.nvim supports jumping to treesitter nodes by labels(just like leap does for searching text). You might want to give that a try and see if it fits your needs.
-
F/f/T/t highlight plugin?
The new plugin from Folke https://github.com/folke/flash.nvim has enhanced f, t, F, T motions and tons leap motions features!
-
New input method
There actually is one plugin, namely flash.nvim, which does something roughly in that direction for search; as soon as you type a unique string it jumps you to the respective location. https://github.com/folke/flash.nvim
-
I give-up, need help with Folke's flash.nvim
return { -- https://github.com/folke/flash.nvim { "folke/flash.nvim", event = "VeryLazy", opts = { labels = "asdfghjklqwertyuiopzxcvbnm", }, config = function(_, opts) local flash = require("flash") flash.setup(opts) _G.flashnav = { jump = function () flash.jump({ search = { mode = "search"}, }) end, jumptoline = function () flash.jump({ search = { mode = "search", max_length = 0 }, label = { after = { 0, 0 } }, pattern = "^" }) end
-
lazy.nvim - "Outsource plugin configurations"?
-- Plugins require("lazy").setup({ -- Motions [https://github.com/folke/flash.nvim] "folke/flash.nvim", event = "VeryLazy", ---@type Flash.Config opts = {}, keys = { { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash", }, { "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter", }, { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash", }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Flash Treesitter Search", }, { "", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search", }, }, })
-
flash.nvim: navigate your code with search labels, enhanced character motions and Treesitter integration
I just released a new plugin!
- Your favourite Neovim plugins?
null-ls.nvim
- cpp setting problem
-
Being a bash developer in the 21st century
you can use nvim then, it has shellcheck for diagnostics and formatting, like in vscode :)
here the link to the config: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main...
-
Linting/formatting and LSP
I use a lot of different languages generally and I'm running into issues around formatting. Is there any standard way to use LSP formatting by default and otherwise fallback to specific linter/formatting programs? I believe null-ls is the normal way of dealing with this, but since it's been archived, I'd rather not rely on it.
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
- Archiving Null-Ls
- null-ls will be archived
-
Why is nobody using CoC anymore?
Because null-ls.nvim & mason.nvim together do everything I wanted CoC for
- Your favourite Neovim plugins?
-
How can I get yapf, black, and other formatters working with pylsp?
There is a good answer. I think you know lua and neovim config enough to pick things that you need. If you need a short answer, null-ls is the way.
What are some alternatives?
eyeliner.nvim - 👀 Move faster with unique f/F indicators.
formatter.nvim
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
nvim-lspconfig - Quickstart configs for Nvim LSP
better-escape.nvim - Escape from insert mode without delay when typing
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
bufferline.nvim - A snazzy bufferline for Neovim
StyLua - An opinionated Lua code formatter
other.nvim - Open alternative files for the current buffer
nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
nvim-fFHighlight - Highlight f and F in Neovim
efm-langserver - General purpose Language Server