Merge branch 'patch-1' of https://github.com/pickfire/kakoune
This commit is contained in:
commit
615c92f6e2
|
@ -86,3 +86,10 @@ hook global WinSetOption filetype=rust %[
|
||||||
hook window InsertChar \} -group rust-indent rust-indent-on-closing-curly-brace
|
hook window InsertChar \} -group rust-indent rust-indent-on-closing-curly-brace
|
||||||
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window rust-.+ }
|
hook -once -always window WinSetOption filetype=.* %{ remove-hooks window rust-.+ }
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=rust %[
|
||||||
|
set window formatcmd 'rustfmt'
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user