style(colors): use `_` for unused params

This commit is contained in:
Iron-E 2021-08-02 23:20:54 -04:00
parent 131c114188
commit f95263e2d0
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22
1 changed files with 2 additions and 2 deletions

View File

@ -873,14 +873,14 @@ local highlight_groups = {
TodoFgHACK = function(self) return {fg=self.Todo.fg} end, TodoFgHACK = function(self) return {fg=self.Todo.fg} end,
TodoFgNOTE = 'HintMsg', TodoFgNOTE = 'HintMsg',
TodoFgPERF = 'InfoMsg', TodoFgPERF = 'InfoMsg',
TodoFgTODO = function(self) return {fg=cyan, style='italic'} end, TodoFgTODO = function(_) return {fg=cyan, style='italic'} end,
TodoFgWARN = function(self) return {fg=self.WarningMsg.fg} end, TodoFgWARN = function(self) return {fg=self.WarningMsg.fg} end,
TodoBgFIX = function(self) return {fg=black, bg=self.ErrorMsg.fg, style={'bold', 'italic', 'nocombine'}} end, TodoBgFIX = function(self) return {fg=black, bg=self.ErrorMsg.fg, style={'bold', 'italic', 'nocombine'}} end,
TodoBgHACK = function(self) return {fg=black, bg=self.Todo.fg, style={'bold', 'italic', 'nocombine'}} end, TodoBgHACK = function(self) return {fg=black, bg=self.Todo.fg, style={'bold', 'italic', 'nocombine'}} end,
TodoBgNOTE = function(self) return {fg=black, bg=self.Hint.bg, style={'bold', 'italic', 'nocombine'}} end, TodoBgNOTE = function(self) return {fg=black, bg=self.Hint.bg, style={'bold', 'italic', 'nocombine'}} end,
TodoBgPERF = function(self) return {fg=black, bg=self.Info.bg, style={'bold', 'italic', 'nocombine'}} end, TodoBgPERF = function(self) return {fg=black, bg=self.Info.bg, style={'bold', 'italic', 'nocombine'}} end,
TodoBgTODO = function(self) return {fg=black, bg=cyan, style={'bold', 'italic', 'nocombine'}} end, TodoBgTODO = function(_) return {fg=black, bg=cyan, style={'bold', 'italic', 'nocombine'}} end,
TodoBgWARN = function(self) return {fg=black, bg=self.Warning.bg, style={'bold', 'italic', 'nocombine'}} end, TodoBgWARN = function(self) return {fg=black, bg=self.Warning.bg, style={'bold', 'italic', 'nocombine'}} end,
TodoSignFIX = 'TodoFgFIX', TodoSignFIX = 'TodoFgFIX',