chore(nvim): format zsh, bash
parent
71b56ea1b6
commit
2c9b782535
|
@ -429,6 +429,7 @@ require("lazy").setup({
|
||||||
local conform = require("conform")
|
local conform = require("conform")
|
||||||
conform.setup({
|
conform.setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
|
bash = { "shfmt" },
|
||||||
go = { "gofumpt" },
|
go = { "gofumpt" },
|
||||||
javascript = { "deno_fmt" },
|
javascript = { "deno_fmt" },
|
||||||
json = { "deno_fmt" },
|
json = { "deno_fmt" },
|
||||||
|
@ -437,6 +438,7 @@ require("lazy").setup({
|
||||||
python = { "ruff_format" },
|
python = { "ruff_format" },
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
toml = { "taplo" },
|
toml = { "taplo" },
|
||||||
|
zsh = { "shfmt" },
|
||||||
},
|
},
|
||||||
formatters = {
|
formatters = {
|
||||||
gofumpt = {
|
gofumpt = {
|
||||||
|
|
|
@ -60,6 +60,7 @@ if command -v fzf &>/dev/null; then
|
||||||
export FZF_ALT_C_COMMAND="fd --type directory --color=always"
|
export FZF_ALT_C_COMMAND="fd --type directory --color=always"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# https://github.com/catppuccin/fzf
|
||||||
export FZF_DEFAULT_OPTS="\
|
export FZF_DEFAULT_OPTS="\
|
||||||
--ansi \
|
--ansi \
|
||||||
--pointer='🔫' --prompt='🪓 ' \
|
--pointer='🔫' --prompt='🪓 ' \
|
||||||
|
|
Loading…
Reference in New Issue