Compare commits

..

No commits in common. "3c7942494075ffe0d5c713d8aea067bd8a390a2f" and "69123b9bf02ed792595a3e0f1c3938da6c559557" have entirely different histories.

5 changed files with 48 additions and 9 deletions

42
lua/plugins/coq.lua Normal file
View File

@ -0,0 +1,42 @@
return {
{
"ms-jpq/coq_nvim",
branch = 'coq',
build = function(_)
vim.cmd("COQdeps")
end,
config = function(_,_)
vim.cmd("COQnow -s")
end,
init = function(_)
vim.g.coq_settings = {
display = {
ghost_text = {
enabled = true,
context = { "", "" },
highlight_group = "CursorLineFold"
},
pum = {
fast_close = false,
kind_context = { " ", " " },
source_context = { "", " " },
},
icons = {
spacing = 1,
mode = "short"
},
}
}
end,
dependencies = {
{
'ms-jpq/coq.artifacts',
branch = "artifacts"
},
{
"ms-jpq/coq.thirdparty",
branch = "3p"
}
}
}
}

View File

@ -15,8 +15,7 @@ return {
signcolumn = true, signcolumn = true,
preview_config = { preview_config = {
border = 'rounded' border = 'rounded'
}, }
} }
end end
} }

View File

@ -14,14 +14,12 @@ return {
sources = { sources = {
"filesystem", "filesystem",
"buffers", "buffers",
"git_status",
"document_symbols" "document_symbols"
}, },
source_selector = { source_selector = {
winbar = true, winbar = true,
statusline = false statusline = false
}, },
close_if_last_window = true,
popup_border_style = options.ui.border, popup_border_style = options.ui.border,
default_component_configs = { default_component_configs = {
container = { container = {
@ -43,9 +41,9 @@ return {
git_status = { git_status = {
symbols = { symbols = {
-- Change type -- Change type
added = "", -- or "✚", but this is redundant info if you use git_status_colors on the name added = "A", -- or "✚", but this is redundant info if you use git_status_colors on the name
modified = "", -- or "", but this is redundant info if you use git_status_colors on the name modified = "M", -- or "", but this is redundant info if you use git_status_colors on the name
deleted = "-",-- this can only be used in the git_status source deleted = "D",-- this can only be used in the git_status source
renamed = "R",-- this can only be used in the git_status source renamed = "R",-- this can only be used in the git_status source
-- Status type -- Status type
untracked = "U", untracked = "U",

View File

@ -15,7 +15,7 @@ return {
{ {
sign = { sign = {
name = { "Diagnostic" }, name = { "Diagnostic" },
colwidth = 1, colwidth = 2,
maxwidth = 1, maxwidth = 1,
condition = { true } condition = { true }
}, },