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