summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/health.lua
diff options
context:
space:
mode:
authorkiyan <yazdani.kiyan@protonmail.com>2021-02-22 23:01:12 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2021-02-27 13:36:33 +0100
commit9d57216c0d94c9823c0d971caeaffb3b261e527e (patch)
tree987e0019a615dbf2cb1c7f7338194152d8032fd0 /lua/nvim-treesitter/health.lua
parent91a89aa408c19572bd7a41caa8ab8666143bec8c (diff)
chore: remove useless code and indent files
Diffstat (limited to 'lua/nvim-treesitter/health.lua')
-rw-r--r--lua/nvim-treesitter/health.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua
index 160586fa..14dd93a7 100644
--- a/lua/nvim-treesitter/health.lua
+++ b/lua/nvim-treesitter/health.lua
@@ -14,9 +14,9 @@ local function install_health()
health_start('Installation')
if fn.executable('git') == 0 then
health_error('`git` executable not found.', {
- 'Install it with your package manager.',
- 'Check that your `$PATH` is set correctly.'
- })
+ 'Install it with your package manager.',
+ 'Check that your `$PATH` is set correctly.'
+ })
else
health_ok('`git` executable found.')
end
@@ -24,7 +24,7 @@ local function install_health()
if fn.executable('cc') == 0 then
health_error('`cc` executable not found.', {
'Check that either gcc or clang is in your $PATH'
- })
+ })
else
health_ok('`cc` executable found.')
end