format.nvim
virt-column.nvim
Our great sponsors
format.nvim | virt-column.nvim | |
---|---|---|
5 | 6 | |
225 | 206 | |
- | - | |
4.3 | 5.1 | |
about 2 years ago | 6 months 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.
format.nvim
-
Do you give use Vim for SQL. It took me a while to setup this. sqls - lang server (auto complete), dadbodUI (view table, execute and save query), prettier-sql (format code on save).
To format on save you need to install format https://github.com/lukas-reineke/format.nvim
-
Out of the box lint and format settings?
For formatting, written in lua, there is formatter.nvim and format.nvim. These are also great plugin but are low level, where you still need you to provide some bindings for the linter/formatter of your choice.
-
Which autoformatting plugin do you recommend?
https://github.com/lukas-reineke/format.nvim/issues/9#issuecomment-837584501
-
[asking] any good formatter for all languages lua
format.nvim is really nice. It's flexible to configure and async
virt-column.nvim
- Transparent ColorColumns
-
Is it possible to have the cursorline only up to max(cursorcolumn, line_length)?
local set_local_colorcolumn = function(c) vim.api.nvim_set_option_value("colorcolumn", c, { scope = "local" }) end local vc_status, vc = pcall(require, "virt-column") if vc_status then -- Disable the default colorcolumn and use virtcolumn, so that we get a -- cursorline background under the colorcolumn. -- https://github.com/lukas-reineke/virt-column.nvim/issues/26 set_local_colorcolumn("") vc.setup({ virtcolumn = col }) vim.api.nvim_cmd({ cmd = "VirtColumnRefresh" }, {}) else set_local_colorcolumn(col) end
-
Is there a visual margin plugin for neovim?
And if you want a thin line instead of the default colorcolumn, have a look at https://github.com/lukas-reineke/virt-column.nvim
-
FAVOURITE PLUGINS
virt-column.nvim: displays a character as the colorcolumn, neovim colorcolumn is too thick because it just colors the column bg and it's very distracting, this is more minimal and doesn't get in the way
-
virtual text colorcolumn
I've opened an issue: https://github.com/lukas-reineke/virt-column.nvim/issues/2
What are some alternatives?
formatter.nvim
focus.nvim - Auto-Focusing and Auto-Resizing Splits/Windows for Neovim written in Lua. A full suite of window management enhancements. Vim splits on steroids!
efm-langserver - General purpose Language Server
nvim-treesitter-context - Show code context
vim-test - Run your tests at the speed of thought
vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.
headlines.nvim - This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua
sqls - SQL language server written in Go.
indent-blankline.nvim - Indent guides for Neovim