Skip to content

Commit

Permalink
add configuration for cue
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 28, 2022
1 parent 1e46726 commit 0ddea2c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dotfiles/kakoune/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit 0ddea2c

Please sign in to comment.