framework: eslint auto format

This commit is contained in:
tristan 2025-05-09 15:42:41 +01:00
parent 483600f4de
commit cf2aaf7578

View file

@ -53,15 +53,12 @@ in {
},
telescope = {
sorting_strategy = "ascending",
layout_strategy = "vertical",
layout_strategy = "horizontal",
layout_config = {
width = 0.8,
width = 0.9,
height = 0.9,
prompt_position = "top",
preview_cutoff = 20,
preview_height = function(_, _, max_lines)
return max_lines - 10
end,
},
},
}
@ -240,6 +237,13 @@ in {
vim.lsp.buf.format({async = false})
'';
}
{
event = "BufWritePre";
pattern = "*.ts";
callback = luaFunc ''
vim.lsp.buf.format({async = false})
'';
}
];
plugins = {