From 533b8ec85925373cbf27094c57a6182c32a04764 Mon Sep 17 00:00:00 2001 From: Uzair Aftab Date: Thu, 11 Jan 2024 19:09:19 +0100 Subject: [PATCH] feat(docker): Add filetype handling to pack to make lsp attach --- lua/astrocommunity/pack/docker/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/astrocommunity/pack/docker/init.lua b/lua/astrocommunity/pack/docker/init.lua index ebfe69fb8..5c967b2e8 100644 --- a/lua/astrocommunity/pack/docker/init.lua +++ b/lua/astrocommunity/pack/docker/init.lua @@ -1,4 +1,10 @@ local utils = require "astronvim.utils" +vim.filetype.add { + filename = { + ["docker-compose.yaml"] = "yaml.docker-compose", + }, +} + return { { "nvim-treesitter/nvim-treesitter",