20250712.1752273923

This commit is contained in:
fz0x1 2025-07-12 00:45:23 +02:00
parent 4d618ad80f
commit 9fb6c83f2a
Signed by: fz0x1
GPG key ID: 6F81647BE1B459F4
4 changed files with 22 additions and 0 deletions

View file

@ -4,6 +4,7 @@ return {
log_level = vim.log.levels.DEBUG,
icon = "", --'▎',
formatters_by_ft = {
awk = { "gawk_fmt" },
lua = { "stylua" },
python = { "ruff_format", "ruff_fix", "isort" },
javascript = { "biome" },
@ -18,6 +19,19 @@ return {
htmldjango = { "prettier" },
["*"] = { "trim_whitespace", "codespell" },
},
formatters = {
gawk_fmt = {
command = "gawk",
args = function(ctx)
return {
"-f",
"$FILENAME",
"-o-",
}
end,
stdin = true,
},
},
format_on_save = {
timeout_ms = 1000,
lsp_fallback = true,

View file

@ -101,6 +101,7 @@ local config = function()
})
vim.lsp.enable('clangd')
-- vim.lsp.enable('awk_ls')
require("mason").setup()

Binary file not shown.

View file

@ -11,3 +11,10 @@ Xft.rgba: rgb
! cursor
Xcursor.theme: Qogir-dark
Xcursor.size: 32
! xterm
! XTerm*utf8: 2
! XTerm*locale: true
! XTerm*faceName: Monospace
! XTerm*faceSize: 10
! XTerm*locale: true