Compare commits
2 commits
fd1fe4866a
...
ee9de435c7
| Author | SHA1 | Date | |
|---|---|---|---|
| ee9de435c7 | |||
| 2b1914b953 |
1 changed files with 4 additions and 25 deletions
|
|
@ -231,30 +231,6 @@ return {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"mluders/comfy-line-numbers.nvim",
|
|
||||||
config = function()
|
|
||||||
require("comfy-line-numbers").setup({
|
|
||||||
hidden_file_types = {}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("CmdlineEnter", {
|
|
||||||
group = "ComfyLineNumbers",
|
|
||||||
pattern = "*",
|
|
||||||
callback = function()
|
|
||||||
pcall(require("comfy-line-numbers").disable_line_numbers)
|
|
||||||
end
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("CmdlineLeave", {
|
|
||||||
group = "ComfyLineNumbers",
|
|
||||||
pattern = "*",
|
|
||||||
callback = function()
|
|
||||||
pcall(require("comfy-line-numbers").enable_line_numbers)
|
|
||||||
end
|
|
||||||
})
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"winston0410/range-highlight.nvim",
|
"winston0410/range-highlight.nvim",
|
||||||
event = { "CmdlineEnter" },
|
event = { "CmdlineEnter" },
|
||||||
|
|
@ -529,7 +505,10 @@ return {
|
||||||
local path = spec.dir / spec.id
|
local path = spec.dir / spec.id
|
||||||
return path:with_suffix(".md")
|
return path:with_suffix(".md")
|
||||||
end,
|
end,
|
||||||
preferred_link_style = "wiki",
|
link = {
|
||||||
|
format = "shortest",
|
||||||
|
style = "wiki",
|
||||||
|
},
|
||||||
frontmatter = {
|
frontmatter = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue