Nvim: add new plugins
This commit is contained in:
16
.config/nvim/lua/plugins/godbolt.lua
Normal file
16
.config/nvim/lua/plugins/godbolt.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
url = "https://git.sr.ht/~p00f/godbolt.nvim",
|
||||
opts = {
|
||||
languages = {
|
||||
cpp = { compiler = "g122", options = {} },
|
||||
c = { compiler = "cg122", options = {} },
|
||||
rust = { compiler = "r1650", options = {} },
|
||||
-- any_additional_filetype = { compiler = ..., options = ... },
|
||||
},
|
||||
quickfix = {
|
||||
enable = false, -- whether to populate the quickfix list in case of errors
|
||||
auto_open = false -- whether to open the quickfix list in case of errors
|
||||
},
|
||||
url = "https://godbolt.org" -- can be changed to a different godbolt instance
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user