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"; } ]; }