You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/package-version/health.lua
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ local executable_managers = function()
35
35
else
36
36
vim.health.warn(
37
37
"Local Pnpm is not found in your system PATH.",
38
-
"In case you are using Pnpm, or using it via docker, you can ignore this warning"
38
+
"In case you are not using Pnpm, or using it via docker, you can ignore this warning"
39
39
)
40
40
end
41
41
@@ -46,12 +46,12 @@ local executable_managers = function()
46
46
else
47
47
vim.health.warn(
48
48
"Local Yarn is not found in your system PATH.",
49
-
"In case you are using Yarn, or using it via docker, you can ignore this warning"
49
+
"In case you are not using Yarn, or using it via docker, you can ignore this warning"
50
50
)
51
51
end
52
52
53
53
ifcount_of_available_managers==0then
54
-
vim.health.error("No package managers found localay", {
54
+
vim.health.error("No package managers found locally", {
55
55
"You have to install at least one of the supported package managers: Composer, Npm, Pnpm, Yarn.",
56
56
"Or you can use via docker by setting up the docker configuration.",
57
57
})
@@ -66,14 +66,14 @@ function M.check()
66
66
vim.health.info("Depends on on your project you'll not have to have all package managers.")
67
67
68
68
ifvim.fn.executable("docker") ==1then
69
-
vim.health.ok("Docker is not installed.")
69
+
vim.health.ok("Docker is installed.")
70
70
71
71
localdocker=plugin.config.docker
72
72
73
73
ifnotdockerthen
74
74
vim.health.warn(
75
75
"Docker configuration is not set.",
76
-
"In case you have plugin manager installed localy you can ignore this warning"
76
+
"In case you have plugin manager installed locally you can ignore this warning"
77
77
)
78
78
79
79
executable_managers()
@@ -85,7 +85,7 @@ function M.check()
85
85
else
86
86
vim.health.warn(
87
87
"Composer Docker container name is not set.",
88
-
"If you are not using composer, or you are using localy, you can ignore this warning"
88
+
"If you are not using composer, or you are using locally, you can ignore this warning"
89
89
)
90
90
end
91
91
@@ -96,7 +96,7 @@ function M.check()
96
96
else
97
97
vim.health.warn(
98
98
"Npm Docker container name is not set.",
99
-
"If you are not using npm, or you are using localy, you can ignore this warning"
99
+
"If you are not using npm, or you are using locally, you can ignore this warning"
100
100
)
101
101
end
102
102
@@ -107,7 +107,7 @@ function M.check()
107
107
else
108
108
vim.health.warn(
109
109
"Pnpm Docker container name is not set.",
110
-
"If you are not using pnpm, or you are using localy, you can ignore this warning"
110
+
"If you are not using pnpm, or you are using locally, you can ignore this warning"
111
111
)
112
112
end
113
113
@@ -118,14 +118,14 @@ function M.check()
118
118
else
119
119
vim.health.warn(
120
120
"Yarn Docker container name is not set.",
121
-
"If you are not using yarn, or you are using localy, you can ignore this warning"
121
+
"If you are not using yarn, or you are using locally, you can ignore this warning"
122
122
)
123
123
end
124
124
125
125
ifcount_of_containers==0then
126
-
vim.health.error("Docke config is detected without any container set.", {
126
+
vim.health.error("Docker config is detected without any container set.", {
127
127
"You have to set at least one of the supported package manager container names: composer_container_name, npm_container_name, pnpm_container_name, yarn_container_name",
128
-
"In case you wanna use from local, you have to remove docker config entirelly",
128
+
"In case you wanna use from local, you have to remove docker config entirely",
0 commit comments