Update to webpages - (examples, setup)
This commit is contained in:
+26
-26
@@ -1,29 +1,29 @@
|
||||
### Lazyvim and Config
|
||||
### Lazy and Config
|
||||
```lua
|
||||
-- There is no need to copy this. This is an example and it consists of the defaults. This is a java example
|
||||
require {
|
||||
"DarthMooMancer/Polydev",
|
||||
config = function()
|
||||
require("Polydev").java.setup({
|
||||
project_root = "~/projects",
|
||||
keybinds = {
|
||||
["<Esc>"] = "CloseTerminal",
|
||||
["<leader>jb"] = "JavaBuild",
|
||||
["<leader>jr"] = "JavaRun",
|
||||
["<leader>nf"] = "NewJavaFile",
|
||||
["<leader>np"] = "NewJavaProject",
|
||||
},
|
||||
terminal = {
|
||||
right_padding = 0,
|
||||
bottom_padding = 0,
|
||||
left_padding = 0,
|
||||
top_padding = 0,
|
||||
border = true,
|
||||
number = true,
|
||||
relativenumber = true,
|
||||
scroll = true,
|
||||
}
|
||||
})
|
||||
end
|
||||
-- There is no need to copy this. This is an example and it consists of the defaults. This is a c example
|
||||
return {
|
||||
'DarthMooMancer/Polydev',
|
||||
opts = {
|
||||
c = {
|
||||
build_attributes = "-DBUILD_SHARED_LIBS=OFF"
|
||||
project_root = "~/Projects/C",
|
||||
keybinds = {
|
||||
["<Esc>"] = "CloseTerminal",
|
||||
["<leader>pb"] = "CBuild",
|
||||
["<leader>pr"] = "CRun",
|
||||
["<leader>nh"] = "NewCHeaderFile",
|
||||
},
|
||||
terminal = {
|
||||
right_padding = 0,
|
||||
bottom_padding = 0,
|
||||
left_padding = 0,
|
||||
top_padding = 0,
|
||||
border = true,
|
||||
number = true,
|
||||
relativenumber = true,
|
||||
scroll = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user