require module the old way
This commit is contained in:
parent
a81eb158be
commit
3c0a350079
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
hook global BufCreate .*[.](rust|rs) %{
|
hook global BufCreate .*[.](rust|rs) %{
|
||||||
set-option buffer filetype rust
|
set-option buffer filetype rust
|
||||||
require-module rust
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Initialization
|
# Initialization
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook global WinSetOption filetype=rust %[
|
hook global WinSetOption filetype=rust %[
|
||||||
|
require-module rust
|
||||||
hook window InsertEnd .* -group rust-trim-indent rust-trim-indent
|
hook window InsertEnd .* -group rust-trim-indent rust-trim-indent
|
||||||
hook window InsertChar \n -group rust-indent rust-indent-on-new-line
|
hook window InsertChar \n -group rust-indent rust-indent-on-new-line
|
||||||
hook window InsertChar \{ -group rust-indent rust-indent-on-opening-curly-brace
|
hook window InsertChar \{ -group rust-indent rust-indent-on-opening-curly-brace
|
||||||
|
|
Loading…
Reference in New Issue
Block a user