From 3b3a692e2cd26eae9cd2d591133101790153163e Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 22 May 2020 17:04:46 +0200 Subject: Remove postspaces and avoid one global --- lua/nvim-treesitter/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim-treesitter/health.lua') 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" -- cgit v1.2.3