This repository was archived by the owner on Oct 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,14 +105,14 @@ function M.checkHealth(complete_items_map)
105
105
else
106
106
local ins = require ' completion.source.ins_complete'
107
107
if ins .checkHealth (complete_source .mode ) then
108
- health_error (complete_source .mode .. " is not a valid insert complete mode" )
108
+ health_error (complete_source .mode .. " is not a valid insert completion mode" )
109
109
end
110
110
end
111
111
end
112
112
end
113
113
end
114
114
if not error then
115
- health_ok (" all completion source are valid" )
115
+ health_ok (" all completion sources are valid" )
116
116
end
117
117
end
118
118
Original file line number Diff line number Diff line change 17
17
local checkSnippetSource = function ()
18
18
local snippet_source = opt .get_option (' enable_snippet' )
19
19
if snippet_source == nil then
20
- health_info (" You haven't setup any snippet source. " )
20
+ health_info (" You haven't set up any snippet source" )
21
21
else
22
22
local rtp = string.lower (api .nvim_get_option (" rtp" ))
23
23
local unknown_snippet_source = true
@@ -34,7 +34,7 @@ local checkSnippetSource = function()
34
34
if string.match (rtp , " .*" .. v .. " .*" ) then
35
35
health_ok (" You are using " .. k .. " as your snippet source" )
36
36
else
37
- health_error (k .. " is not available! Check if you install " .. k .. " correctly. " )
37
+ health_error (k .. " is not available! Check if you installed " .. k .. " correctly" )
38
38
end
39
39
break
40
40
end
49
49
function M .checkHealth ()
50
50
health_start (" general" )
51
51
if vim .tbl_filter == nil then
52
- health_error (" vim.tbl_filter is not found!" , {' consider recompile neovim from the latest master branch' })
52
+ health_error (" vim.tbl_filter is not found!" , {' consider recompiling neovim from the latest master branch' })
53
53
else
54
54
health_ok (" neovim version is supported" )
55
55
end
You can’t perform that action at this time.
0 commit comments