Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

feat(hadolint): add Dockerfile to filetypes #271

Conversation

strayer
Copy link
Contributor

@strayer strayer commented Oct 21, 2021

ekalinin/Dockerfile.vim uses Dockerfile as a filetype, causing hadolint not to be activated when editing Dockerfile files.

nvim-lspconfig also uses both filetypes for activating dockerls, so I think it makes sense to have them both for hadolint too until this is eventually changed in Dockerfile.vim. (see linked issue)

See:

ekalinin/Dockerfile.vim uses Dockerfile as a filetype, causing hadolint
not to be activated when editing Dockerfile files. nvim-lspconfig also
uses both filetypes for activating dockerls, so I think it makes sense
to have them both for hadolint too until this is eventually changed in
Dockerfile.vim. (see linked issue)

See:
https://github.com/neovim/nvim-lspconfig/blob/cd1ccf0/lua/lspconfig/dockerls.lua#L10
ekalinin/Dockerfile.vim#67
@jose-elias-alvarez
Copy link
Owner

Makes sense, thank you!

@jose-elias-alvarez jose-elias-alvarez merged commit 4a7ac16 into jose-elias-alvarez:main Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants