refactor(nvim): Reformat code

This commit is contained in:
Ahmad Ansori Palembani 2025-05-27 11:02:37 +07:00
parent b39c708cde
commit 26954bc417
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
5 changed files with 507 additions and 501 deletions

View file

@ -177,7 +177,8 @@ return {
local has_words_before = function()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
return col ~= 0 and
vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
end
cmp.setup({

View file

@ -98,6 +98,7 @@ function M.lazy_file()
end,
})
end
-- >>[LAZY]
return M

View file

@ -2,6 +2,10 @@
end_of_line = lf
insert_final_newline = true
[*.lua]
indent_style = space
indent_size = 4
[*.{nix,kbd}]
indent_style = space
indent_size = 2