mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
feat:add_nixvim
This commit is contained in:
20
home/nixvim/plugins/lang/docker.nix
Normal file
20
home/nixvim/plugins/lang/docker.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{pkgs, ...}: {
|
||||
plugins = {
|
||||
lsp.servers = {
|
||||
dockerls.enable = true;
|
||||
docker_compose_language_service.enable = true;
|
||||
};
|
||||
|
||||
lint = {
|
||||
lintersByFt = {
|
||||
docker = ["hadolint"];
|
||||
};
|
||||
|
||||
linters = {
|
||||
hadolint = {
|
||||
cmd = "${pkgs.hadolint}/bin/hadolint";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user