Skip to content

Commit 6114b21

Browse files
committed
ci: test setup -v2
1 parent f69c539 commit 6114b21

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lua/sql-formatter/utils.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ local M = {}
88
function M.is_sql_buffer(buf)
99
buf = buf or vim.api.nvim_get_current_buf()
1010
local filetype = vim.api.nvim_buf_get_option(buf, "filetype")
11-
11+
1212
local sql_filetypes = { "sql", "mysql", "plsql", "pgsql" }
13-
13+
1414
for _, ft in ipairs(sql_filetypes) do
1515
if filetype == ft then
1616
return true
1717
end
1818
end
19-
19+
2020
return false
2121
end
2222

@@ -30,7 +30,7 @@ end
3030
function M.get_visual_selection()
3131
local start_line = vim.fn.line("'<")
3232
local end_line = vim.fn.line("'>")
33-
33+
3434
return start_line, end_line
3535
end
3636

@@ -42,4 +42,5 @@ function M.command_exists(cmd)
4242
return result ~= ""
4343
end
4444

45-
return M
45+
return M
46+

0 commit comments

Comments
 (0)