chore: Added compiler explorer with config
This commit is contained in:
parent
be5dcf6c5d
commit
b88cf78d26
1 changed files with 19 additions and 0 deletions
|
@ -103,6 +103,25 @@ lazy.setup({
|
|||
},
|
||||
-- Rename variable pop up
|
||||
'stevearc/dressing.nvim',
|
||||
{
|
||||
'krady21/compiler-explorer.nvim',
|
||||
config = function()
|
||||
require("compiler-explorer").setup({
|
||||
url = "https://godbolt.org",
|
||||
infer_lang = true, -- Try to infer possible language based on file extension.
|
||||
line_match = {
|
||||
highlight = true, -- highlight the matching line(s) in the other buffer.
|
||||
jump = true, -- move the cursor in the other buffer to the first matching line.
|
||||
},
|
||||
open_qflist = true, -- Open qflist after compilation if there are diagnostics.
|
||||
split = "split", -- How to split the window after the second compile (split/vsplit).
|
||||
compiler_flags = "", -- Default flags passed to the compiler.
|
||||
job_timeout_ms = 25000, -- Timeout for libuv job in milliseconds.
|
||||
languages = { -- Language specific default compiler/flags
|
||||
},
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
|
|
Loading…
Add table
Reference in a new issue