From 244ab5398760ffa231d66182478cea6295670fe9 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Thu, 14 May 2026 20:41:09 +0200 Subject: [PATCH] languages/docker: use command instead of callback in autocmd --- modules/plugins/languages/docker.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/plugins/languages/docker.nix b/modules/plugins/languages/docker.nix index 61eee464..649c51a4 100644 --- a/modules/plugins/languages/docker.nix +++ b/modules/plugins/languages/docker.nix @@ -12,7 +12,6 @@ inherit (lib.types) enum listOf; inherit (lib.nvim.types) mkGrammarOption diagnostics; inherit (lib.nvim.attrsets) mapListToAttrs; - inherit (lib.generators) mkLuaInline; cfg = config.vim.languages.docker; @@ -109,9 +108,7 @@ in { "docker-compose.yml" "docker-compose.yaml" ]; - callback = mkLuaInline '' - vim.bo.filetype = "dockercompose" - ''; + command = "set filetype=dockercompose"; } ]; }