summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/health.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-05-22 17:04:46 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-05-22 17:07:28 +0200
commit3b3a692e2cd26eae9cd2d591133101790153163e (patch)
tree2b7b6c514c9431b973d8d1ae4a4ff68188f3ce60 /lua/nvim-treesitter/health.lua
parentd8328b8e1c36739c61e413366c9395ceb2397ce9 (diff)
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"