Add @diagnostic disable: undefined-global to template

This commit is contained in:
Oliver Marriott 2021-08-25 01:17:11 +10:00
parent 7ea1890521
commit d0aded2586
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
local lush = require('lush')
local hsl = lush.hsl
-- LSP/Linters mistakenly show `undefined global` errors in the spec, they may
-- support an annotation like the following. Consult your server documentation.
---@diagnostic disable: undefined-global
local theme = lush(function()
return {
-- The following are all the Neovim default highlight groups from the docs