feat(nvim): add custom filetype for dockerfiles

This commit is contained in:
Price Hiller 2022-10-07 14:02:04 -05:00
parent 36ebfc2647
commit 6f9c089268
2 changed files with 18 additions and 6 deletions

View File

@ -0,0 +1,11 @@
local M = {}
M.setup = function()
vim.filetype.add({
pattern = {
[".*%.dockerfile"] = "dockerfile",
},
})
end
return M

View File

@ -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()