kakoune: add pint as formatter
This commit is contained in:
parent
93b652b952
commit
4532cb43fa
4 changed files with 13 additions and 0 deletions
|
@ -124,6 +124,7 @@
|
|||
zbar
|
||||
wl-clipboard
|
||||
];
|
||||
pint-fmt = [ ];
|
||||
powerplay-led-idle = [
|
||||
bash
|
||||
libinput
|
||||
|
|
7
scripts/pint-fmt
Executable file
7
scripts/pint-fmt
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
file="$(mktemp --tmpdir=/dev/shm).php"
|
||||
cat - >"$file"
|
||||
./vendor/bin/pint --quiet "$file"
|
||||
cat "$file"
|
||||
rm "$file"
|
Loading…
Add table
Add a link
Reference in a new issue