summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/health.lua
diff options
context:
space:
mode:
authorKiyan Yazdani <yazdani.kiyan@protonmail.com>2020-05-22 17:11:59 +0200
committerGitHub <noreply@github.com>2020-05-22 17:11:59 +0200
commitfb672f2630f00ff171b552a1d96b53fc0cd0f288 (patch)
tree2b7b6c514c9431b973d8d1ae4a4ff68188f3ce60 /lua/nvim-treesitter/health.lua
parentd8328b8e1c36739c61e413366c9395ceb2397ce9 (diff)
parent3b3a692e2cd26eae9cd2d591133101790153163e (diff)
Merge pull request #61 from theHamsta/cleanup-postspace
Remove postspaces and avoid one global
Diffstat (limited to 'lua/nvim-treesitter/health.lua')
-rw-r--r--lua/nvim-treesitter/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua
index a1852162..ca1e765c 100644
--- a/lua/nvim-treesitter/health.lua
+++ b/lua/nvim-treesitter/health.lua
@@ -45,7 +45,7 @@ local function highlight_health(lang)
end
end
-function locals_health(lang)
+local function locals_health(lang)
if not queries.get_query(lang, "locals") then
health_warn("No `locals.scm` query found for " .. lang, {
"Open an issue at https://github.com/nvim-treesitter/nvim-treesitter"