This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
2 changed files with
7 additions and
1 deletions
|
|
|
@ -59,6 +59,12 @@ hook global BufCreate .*\.(tera|askama)\.?.* %[
|
|
|
|
|
add-highlighter buffer/jinja ref jinja
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
hook global WinSetOption filetype=rust %[
|
|
|
|
|
require-module rust
|
|
|
|
|
require-module html
|
|
|
|
|
add-highlighter shared/rust/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
hook global WinSetOption filetype=sql %[
|
|
|
|
|
set buffer comment_line '--'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ main() {
|
|
|
|
|
|
|
|
|
|
[ -n "$entry" ] || exit
|
|
|
|
|
|
|
|
|
|
username=`pass show "$entry" 2>/dev/null | perl -ne 'print $1 if /^login: (.*)/'`
|
|
|
|
|
username=`pass show "$entry" 2>/dev/null | perl -ne 'print $2 if /^(login|user|email): (.*)/'`
|
|
|
|
|
password=`pass show "$entry" 2>/dev/null | head -n 1`
|
|
|
|
|
|
|
|
|
|
action=`printf "Autotype\nUsername -> $username\nPassword" | "$dmenu" -p Action`
|
|
|
|
|