diff --git a/dots/.nvim-environments/primary/config/lua/core/filetypes.lua b/dots/.nvim-environments/primary/config/lua/core/filetypes.lua new file mode 100644 index 00000000..cd62242f --- /dev/null +++ b/dots/.nvim-environments/primary/config/lua/core/filetypes.lua @@ -0,0 +1,11 @@ +local M = {} + +M.setup = function() + vim.filetype.add({ + pattern = { + [".*%.dockerfile"] = "dockerfile", + }, + }) +end + +return M diff --git a/dots/.nvim-environments/primary/config/lua/core/init.lua b/dots/.nvim-environments/primary/config/lua/core/init.lua index c101a615..30567709 100755 --- a/dots/.nvim-environments/primary/config/lua/core/init.lua +++ b/dots/.nvim-environments/primary/config/lua/core/init.lua @@ -1,7 +1,8 @@ -require('core.disabled').setup() -require('core.options').setup() -require('core.mappings').setup() -require('core.globals').setup() -require('core.autocmds').setup() -require('core.lsp').setup() +require("core.disabled").setup() +require("core.options").setup() +require("core.mappings").setup() +require("core.globals").setup() +require("core.autocmds").setup() +require("core.filetypes").setup() +require("core.lsp").setup() -- require('core.winbar').setup()