format.nvim
vim-dadbod
Our great sponsors
format.nvim | vim-dadbod | |
---|---|---|
5 | 6 | |
225 | 3,210 | |
- | - | |
4.3 | 5.6 | |
about 2 years ago | 29 days ago | |
Lua | Vim Script | |
- | - |
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
vim-dadbod
-
How come query performance differs on 'channel'?
Via dadbod
-
Show HN: PostgreSQL Sessions in Vim
I used dadbod[0] and the following in my vimrc[1] to do a similar thing, only I haven't make the shortcuts for sending a block yet.
Looks nice though, maybe I'll try it out sometime!
[0] https://github.com/tpope/vim-dadbod
[1] au FileType sql nmap d :%:DB g:db
-
How to use Vim or Neovim for SQL?
Maybe that helps with autocompletion in dadbod: ```lua Plug 'https://github.com/tpope/vim-dadbod.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-ui.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-completion.git'
-
Is there a plugin or a way to run and execute mongo queries in vim ?
Check out these two: https://github.com/tpope/vim-dadbod/ https://github.com/kristijanhusak/vim-dadbod-ui
-
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).
I used dadbodUI for viewing table, before you install dadbodUI, remember to install dadbod https://github.com/tpope/vim-dadbod
-
Gobang – Cross-platform TUI database management tool written in Rust
There is a plugin for connecting to DBs [0] and others built upon it, a UI [1] and even completion [2].
[0] https://github.com/tpope/vim-dadbod
What are some alternatives?
formatter.nvim
termdbms - A TUI for viewing and editing database files.
efm-langserver - General purpose Language Server
sqls - SQL language server written in Go.
nvim-treesitter-context - Show code context
vim-dadbod-completion - Database autocompletion powered by https://github.com/tpope/vim-dadbod
vim-autoformat - Provide easy code formatting in Vim by integrating existing code formatters.
NeoVimLua
neoformat - :sparkles: A (Neo)vim plugin for formatting code.
prettier-sql - [ARCHIVED] Please use https://github.com/sql-formatter-org/sql-formatter
gobang - A cross-platform TUI database management tool written in Rust