summaryrefslogtreecommitdiff
path: root/config/kak/go-snippets.kak
blob: b58a2cddc6e58da0b9d1fb8eb40ba08a685e5518 (plain)
1
2
3
4
5
6
7
set buffer snippets %opt{snippets} # keep global snippets (if any)
set -add buffer snippets 'err != nil' 'err@' %{ snippets-insert %{if err != nil {

}
  }
  }