20250712.1752273923
This commit is contained in:
parent
4d618ad80f
commit
9fb6c83f2a
4 changed files with 22 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -101,6 +101,7 @@ local config = function()
|
|||
})
|
||||
|
||||
vim.lsp.enable('clangd')
|
||||
-- vim.lsp.enable('awk_ls')
|
||||
|
||||
|
||||
require("mason").setup()
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue