Kakoune has built-in support for Gleam syntax highlighting and indenting.

If you are using a language server client for Kakoune configure it to run gleam lsp from the root of your workspace to get Gleam LS functionality.