config(nvim): sync shfmt coonfig

Also add pokeget data
main
sudo pacman -Syu 2024-05-10 15:15:58 +07:00
parent 593cd71c5f
commit 2578dd0802
10 changed files with 98 additions and 3 deletions

View File

@ -35,7 +35,7 @@ format:
# go install mvdan.cc/sh/v3/cmd/shfmt@latest
gofimports -w --company github.com/make-go-great,github.com/haunt98 .
gofumpt -w -extra .
shfmt -w -ci -i 4 ./scripts ./data/zsh
shfmt -w -s -i 4 ./scripts ./data/zsh
build:
$(MAKE) clean

View File

@ -202,9 +202,12 @@ require("lazy").setup({
local cmp = require("cmp")
cmp.setup({
-- Custom
completion = {
autocomplete = false,
},
preselect = cmp.PreselectMode.None,
-- Sane default
snippet = {
expand = function(args)
-- TODO: Remove later
@ -449,6 +452,9 @@ require("lazy").setup({
gofumpt = {
prepend_args = { "-extra" },
},
shfmt = {
prepend_args = { "-s", "-i", "4" },
},
},
})

View File

@ -0,0 +1,10 @@
▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄
▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▀▀▀▀▄▄▄▄▄▄▀▀
▀▀▀▀

View File

@ -0,0 +1,12 @@
▄▄▄
▄▄▄▄ ▄▄▄▄▄
▄▄▄▄▄▄▀ ▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄ ▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▀▀ ▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▀▄▄▄▄▄▄▄
▄▄▄▄▄
▀▀▀

9
data/pokeget/dratini.txt Normal file
View File

@ -0,0 +1,9 @@
▄▄▄
▄▄▄▄▄▄▄ ▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▀ ▀▀
▀▄▄▄▄▀▀

18
data/pokeget/machamp.txt Normal file
View File

@ -0,0 +1,18 @@
▄▄▄▄▄▄▄ ▄▄ ▄▄
▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▀ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▀▄▄▀▀▀▀ ▀▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▀▀ ▀▄▄▄▄▄▄▄▄
▀▀▀ ▄▄▄▄▄▄▀
▀▄▄▄▄▀

View File

@ -0,0 +1,11 @@
▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▀▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▀▀▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄
▀▀▀▄▄▄▄▀
▀

11
data/pokeget/psyduck.txt Normal file
View File

@ -0,0 +1,11 @@
▄ ▄▄ ▄▄
▄▄▄▄▄▄▄▄▄▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▀▄▄▀▄▄▄▄▄▄▀
▀▀▀▀

11
data/pokeget/slowpoke.txt Normal file
View File

@ -0,0 +1,11 @@
▄▄▄▄▄▄
▀▀▄▄▄▄▄
▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀
▀▀▄▄▄▀▀▄▄▄▄▄▄▀
▀▀▀▀

View File

@ -16,9 +16,16 @@ bat cache --build
cat /dev/null >~/.zsh_history
atuin history prune
pokeget --hide-name pikachu >data/pokeget/pikachu.txt
pokeget --hide-name bulbasaur >data/pokeget/bulbasaur.txt
pokeget --hide-name charmeleon >data/pokeget/charmeleon.txt
pokeget --hide-name chikorita >data/pokeget/chikorita.txt
pokeget --hide-name clefairy >data/pokeget/clefairy.txt
pokeget --hide-name ditto >data/pokeget/ditto.txt
pokeget --hide-name chikorita >data/pokeget/chikorita.txt
pokeget --hide-name dratini >data/pokeget/dratini.txt
pokeget --hide-name eevee >data/pokeget/eevee.txt
pokeget --hide-name machamp >data/pokeget/machamp.txt
pokeget --hide-name pikachu >data/pokeget/pikachu.txt
pokeget --hide-name pikachu-world-cap >data/pokeget/pikachu-world-cap.txt
pokeget --hide-name psyduck >data/pokeget/psyduck.txt
pokeget --hide-name slowpoke >data/pokeget/slowpoke.txt
pokeget --hide-name squirtle >data/pokeget/squirtle.txt