Update some stuff
This commit is contained in:
parent
82d279e6d8
commit
f39f45f415
10
lua/plugins/codesnap.lua
Normal file
10
lua/plugins/codesnap.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
"mistricky/codesnap.nvim",
|
||||||
|
build = "make",
|
||||||
|
|
||||||
|
config = function() require("codesnap").setup{
|
||||||
|
-- bg_theme = "grape",
|
||||||
|
bg_padding = 0,
|
||||||
|
has_line_number = true,
|
||||||
|
} end
|
||||||
|
}
|
||||||
@ -21,8 +21,8 @@ return {
|
|||||||
evaluate_template_modifiers = true,
|
evaluate_template_modifiers = true,
|
||||||
received_problems_prompt_path = false,
|
received_problems_prompt_path = false,
|
||||||
compile_command = {
|
compile_command = {
|
||||||
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++17", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } },
|
||||||
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++17", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
},
|
},
|
||||||
run_command = {
|
run_command = {
|
||||||
c = { exec = "./$(FNOEXT).out" },
|
c = { exec = "./$(FNOEXT).out" },
|
||||||
|
|||||||
4
lua/plugins/magma.lua
Normal file
4
lua/plugins/magma.lua
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
"dccsillag/magma-nvim",
|
||||||
|
ft = "python"
|
||||||
|
}
|
||||||
@ -9,7 +9,8 @@ return {
|
|||||||
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"bashls",
|
"bashls",
|
||||||
"pylsp",
|
-- "pylsp"=,
|
||||||
|
"pyright",
|
||||||
"cmake",
|
"cmake",
|
||||||
"mesonlsp",
|
"mesonlsp",
|
||||||
"vimls",
|
"vimls",
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
"matveyt/neoclip",
|
"matveyt/neoclip",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
enabled = false,
|
||||||
config = function(plugin, opts)
|
config = function(plugin, opts)
|
||||||
require("neoclip"):setup()
|
require("neoclip"):setup()
|
||||||
end,
|
end,
|
||||||
|
|||||||
15
lua/plugins/nvim-ts-autotag.lua
Normal file
15
lua/plugins/nvim-ts-autotag.lua
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"windwp/nvim-ts-autotag",
|
||||||
|
config = function(plugin, opts)
|
||||||
|
require("nvim-ts-autotag").setup({
|
||||||
|
opts = {
|
||||||
|
enable = true,
|
||||||
|
enable_rename = true,
|
||||||
|
enable_close = true,
|
||||||
|
enable_close_on_slash = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
@ -39,12 +39,6 @@ return {
|
|||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
autotag = {
|
|
||||||
enable = true,
|
|
||||||
enable_rename = true,
|
|
||||||
enable_close = true,
|
|
||||||
enable_close_on_slash = true,
|
|
||||||
},
|
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"lua",
|
"lua",
|
||||||
"cpp",
|
"cpp",
|
||||||
|
|||||||
@ -9,8 +9,8 @@ using namespace std;
|
|||||||
#define rmin(a, b) a = min(a, b)
|
#define rmin(a, b) a = min(a, b)
|
||||||
#define rmax(a, b) a = max(a, b)
|
#define rmax(a, b) a = max(a, b)
|
||||||
|
|
||||||
#define rep(i, lim) for (size_t i = 0; i < (lim); i++)
|
#define rep(i, lim) for (int i = 0; i < (lim); i++)
|
||||||
#define nrep(i, s, lim) for (size_t i = s; i < (lim); i++)
|
#define nrep(i, s, lim) for (int i = s; i < (lim); i++)
|
||||||
|
|
||||||
#define repv(i, v) for (auto &i : (v))
|
#define repv(i, v) for (auto &i : (v))
|
||||||
#define fillv(v) for (auto &itr_ : (v)) { cin >> itr_; }
|
#define fillv(v) for (auto &itr_ : (v)) { cin >> itr_; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user