fix keymaps, lazy load pass trying to reduce startup time, shaved ~35ms
This commit is contained in:
parent
8b38a13192
commit
f5efed19c7
11 changed files with 295 additions and 218 deletions
|
|
@ -1,11 +1,17 @@
|
|||
require("tiny-inline-diagnostic").setup({
|
||||
preset = "modern",
|
||||
transparent_bg = false,
|
||||
transparent_cursorline = false,
|
||||
options = {
|
||||
multilines = {
|
||||
enabled = true,
|
||||
always_show = true,
|
||||
},
|
||||
},
|
||||
vim.api.nvim_create_autocmd("LspAttach", {
|
||||
once = true,
|
||||
callback = function()
|
||||
vim.pack.add({ "https://github.com/rachartier/tiny-inline-diagnostic.nvim" })
|
||||
require("tiny-inline-diagnostic").setup({
|
||||
preset = "modern",
|
||||
transparent_bg = false,
|
||||
transparent_cursorline = false,
|
||||
options = {
|
||||
multilines = {
|
||||
enabled = true,
|
||||
always_show = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue