You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# nvim-sql-formatter
1
+
# sql-formatter.nvim
2
2
3
3
A lightweight, high-performance SQL formatter plugin for Neovim that leverages `sqlparse` for optimal formatting results with a Lua fallback for basic formatting.
4
4
@@ -12,6 +12,11 @@ A lightweight, high-performance SQL formatter plugin for Neovim that leverages `
12
12
- 🔄 **Fallback**: Pure Lua formatter when external tools unavailable
13
13
- 📋 **Range Formatting**: Format selected text only
14
14
15
+
## Requirements
16
+
17
+
- Neovim >= 0.8.0
18
+
- Optional: `sqlparse` for optimal performance (`pip install sqlparse`)
19
+
15
20
## Installation
16
21
17
22
### Prerequisites
@@ -28,7 +33,7 @@ pip install sqlparse
28
33
29
34
```lua
30
35
{
31
-
"andev0x/nvim-sql-formatter",
36
+
"andev0x/sql-formatter.nvim",
32
37
ft= { "sql", "mysql", "plsql", "pgsql" },
33
38
config=function()
34
39
require("sql-formatter").setup({
@@ -43,7 +48,7 @@ pip install sqlparse
43
48
44
49
```lua
45
50
use {
46
-
"andev0x/nvim-sql-formatter",
51
+
"andev0x/sql-formatter.nvim",
47
52
ft= { "sql", "mysql", "plsql", "pgsql" },
48
53
config=function()
49
54
require("sql-formatter").setup()
@@ -54,7 +59,7 @@ use {
54
59
#### vim-plug
55
60
56
61
```vim
57
-
Plug 'andev0x/nvim-sql-formatter'
62
+
Plug 'andev0x/sql-formatter.nvim'
58
63
```
59
64
60
65
## Configuration
@@ -167,11 +172,6 @@ This plugin prioritizes performance by:
167
172
3.**Lazy Loading**: Only loads for SQL file types
168
173
4.**Minimal Dependencies**: Pure Lua implementation with optional external tools
169
174
170
-
## Requirements
171
-
172
-
- Neovim >= 0.8.0
173
-
- Optional: `sqlparse` for optimal performance (`pip install sqlparse`)
0 commit comments