mirror of https://github.com/sgoudham/nvim.git
fix(formatting): stylua
parent
60c3dc2424
commit
1ec2590301
@ -1,25 +1,25 @@
|
||||
local M = {}
|
||||
|
||||
function M.get()
|
||||
local error = cp.red
|
||||
local warning = cp.yellow
|
||||
local info = cp.sky
|
||||
local hint = cp.teal
|
||||
local error = cp.red
|
||||
local warning = cp.yellow
|
||||
local info = cp.sky
|
||||
local hint = cp.teal
|
||||
|
||||
return {
|
||||
-- These groups are for the coc.nvim, the documentation is here (https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt#L2365).
|
||||
CocErrorHighlight = { fg = error },
|
||||
CocErrorSign = { fg = error },
|
||||
CocErrorVirtualText = { fg = error },
|
||||
CocHintHighlight = { fg = hint },
|
||||
CocHintSign = { fg = hint },
|
||||
CocHintVirtualText = { fg = hint },
|
||||
CocInfoHighlight = { fg = info },
|
||||
CocInfoSign = { fg = info },
|
||||
CocInfoVirtualText = { fg = info },
|
||||
CocWarningHighlight = { fg = warning },
|
||||
CocWarningSign = { fg = warning },
|
||||
}
|
||||
return {
|
||||
-- These groups are for the coc.nvim, the documentation is here (https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt#L2365).
|
||||
CocErrorHighlight = { fg = error },
|
||||
CocErrorSign = { fg = error },
|
||||
CocErrorVirtualText = { fg = error },
|
||||
CocHintHighlight = { fg = hint },
|
||||
CocHintSign = { fg = hint },
|
||||
CocHintVirtualText = { fg = hint },
|
||||
CocInfoHighlight = { fg = info },
|
||||
CocInfoSign = { fg = info },
|
||||
CocInfoVirtualText = { fg = info },
|
||||
CocWarningHighlight = { fg = warning },
|
||||
CocWarningSign = { fg = warning },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
@ -1,11 +1,11 @@
|
||||
local M = {}
|
||||
|
||||
function M.set_of(list)
|
||||
local set = {}
|
||||
for i = 1, #list do
|
||||
set[list[i]] = true
|
||||
end
|
||||
return set
|
||||
local set = {}
|
||||
for i = 1, #list do
|
||||
set[list[i]] = true
|
||||
end
|
||||
return set
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue