Skip to content

Commit 5745eba

Browse files
committed
🧹 chore: update structure
1 parent aeadb51 commit 5745eba

File tree

7 files changed

+30
-0
lines changed

7 files changed

+30
-0
lines changed

‎.stylua.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
column_width = 80
2+
line_endings = "Unix"
3+
indent_type = "Spaces"
4+
indent_width = 4
5+
quote_style = "AutoPreferDouble"

‎lua/commit-ai/backends/gemini.lua

Whitespace-only changes.

‎lua/commit-ai/backends/init.lua

Whitespace-only changes.

‎lua/commit-ai/commit.lua

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
local M = {}
2+
3+
4+
return M

‎lua/commit-ai/config.lua

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
local M = {}
2+
3+
M.config = {
4+
-- default config
5+
}
6+
7+
return M

‎lua/commit-ai/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require('commit-ai.commit')

‎lua/commit-ai/log.lua

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
local log = {}
2+
3+
local p = "[commit-ai.nvim] "
4+
5+
function log.info(txt)
6+
vim.notify(p .. txt)
7+
end
8+
9+
function log.error(txt)
10+
vim.notify(p .. txt)
11+
end
12+
13+
return log

0 commit comments

Comments
 (0)