fix: am nvim syntax highlight
This commit is contained in:
parent
4f5877dc51
commit
dfa2a9b477
5
bin/am
5
bin/am
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash -e
|
||||||
set -e
|
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# mount all partitions by selecting disk
|
# mount all partitions by selecting disk
|
||||||
@ -12,7 +11,7 @@ function get_row() {
|
|||||||
printf '\e[6n' >&2
|
printf '\e[6n' >&2
|
||||||
read -sdRr pos
|
read -sdRr pos
|
||||||
pos="${pos#*[}"
|
pos="${pos#*[}"
|
||||||
row="${pos%;*}"
|
row="${pos%\;*}"
|
||||||
echo "$row"
|
echo "$row"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user