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)
105105 else
106106 local ins = require ' completion.source.ins_complete'
107107 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" )
109109 end
110110 end
111111 end
112112 end
113113 end
114114 if not error then
115- health_ok (" all completion source are valid" )
115+ health_ok (" all completion sources are valid" )
116116 end
117117end
118118
Original file line number Diff line number Diff line change 1717local checkSnippetSource = function ()
1818 local snippet_source = opt .get_option (' enable_snippet' )
1919 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" )
2121 else
2222 local rtp = string.lower (api .nvim_get_option (" rtp" ))
2323 local unknown_snippet_source = true
@@ -34,7 +34,7 @@ local checkSnippetSource = function()
3434 if string.match (rtp , " .*" .. v .. " .*" ) then
3535 health_ok (" You are using " .. k .. " as your snippet source" )
3636 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" )
3838 end
3939 break
4040 end
4949function M .checkHealth ()
5050 health_start (" general" )
5151 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' })
5353 else
5454 health_ok (" neovim version is supported" )
5555 end
You can’t perform that action at this time.
0 commit comments