1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 20:41:49 +03:00

require module the old way

This commit is contained in:
Andrey Orst 2019-07-22 18:22:44 +03:00
parent a81eb158be
commit 3c0a350079

View File

@ -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