chore(nvim): format zsh, bash

main
sudo pacman -Syu 2024-04-04 17:04:12 +07:00
parent 71b56ea1b6
commit 2c9b782535
2 changed files with 50 additions and 47 deletions

View File

@ -429,6 +429,7 @@ require("lazy").setup({
local conform = require("conform")
conform.setup({
formatters_by_ft = {
bash = { "shfmt" },
go = { "gofumpt" },
javascript = { "deno_fmt" },
json = { "deno_fmt" },
@ -437,6 +438,7 @@ require("lazy").setup({
python = { "ruff_format" },
sh = { "shfmt" },
toml = { "taplo" },
zsh = { "shfmt" },
},
formatters = {
gofumpt = {

View File

@ -60,6 +60,7 @@ if command -v fzf &>/dev/null; then
export FZF_ALT_C_COMMAND="fd --type directory --color=always"
fi
# https://github.com/catppuccin/fzf
export FZF_DEFAULT_OPTS="\
--ansi \
--pointer='🔫' --prompt='🪓 ' \