add configuration for cue

main
Brian Hicks 2022-01-27 21:04:24 -06:00
parent 1e46726271
commit 0ddea2c43d
1 changed files with 9 additions and 0 deletions

View File

@ -229,6 +229,15 @@ in {
set-option buffer indentwidth %arg{1}
}
hook global WinSetOption filetype=cue %{
noexpandtab
set-option buffer tabstop 4
# formatting
set-option buffer formatcmd "${pkgs.cue}/bin/cue fmt -s -"
hook buffer BufWritePre .* format
}
hook global WinSetOption filetype=elm %{
expandtab-with-width 4