Compare commits
No commits in common. "80c8732d9303d734adc57a15ca369fcd3d3f7a5c" and "82d279e6d8b02077aa21291dbf71c92bf20a032f" have entirely different histories.
80c8732d93
...
82d279e6d8
@ -43,7 +43,5 @@ return {
|
|||||||
|
|
||||||
{ import = "astrocommunity.lsp.lsp-signature-nvim" },
|
{ import = "astrocommunity.lsp.lsp-signature-nvim" },
|
||||||
|
|
||||||
{ import = "astrocommunity.syntax.vim-sandwich" },
|
{ import = "astrocommunity.syntax.vim-sandwich" }
|
||||||
|
|
||||||
{ import = "astrocommunity.pack.java" }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -57,12 +57,6 @@ return {
|
|||||||
"--query-driver=/usr/bin/*gcc",
|
"--query-driver=/usr/bin/*gcc",
|
||||||
"--function-arg-placeholders=0",
|
"--function-arg-placeholders=0",
|
||||||
},
|
},
|
||||||
sqls = {
|
|
||||||
connections = {
|
|
||||||
driver = "postgres",
|
|
||||||
dataSourceName = "host=127.0.0.1 port=5432 user=postgres password=postgres dbname=trabalho sslmode=disable"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
root_dir = function(path)
|
root_dir = function(path)
|
||||||
local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd())
|
local normal = require("lspconfig.util").root_pattern(".git")(vim.fn.getcwd())
|
||||||
if normal then
|
if normal then
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
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 = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } },
|
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++17", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
cpp = { exec = "g++", args = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++17", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
},
|
},
|
||||||
run_command = {
|
run_command = {
|
||||||
c = { exec = "./$(FNOEXT).out" },
|
c = { exec = "./$(FNOEXT).out" },
|
||||||
|
|||||||
@ -1,24 +0,0 @@
|
|||||||
return {
|
|
||||||
"mfussenegger/nvim-jdtls",
|
|
||||||
opts = {
|
|
||||||
settings = {
|
|
||||||
java = {
|
|
||||||
configuration = {
|
|
||||||
runtimes = {
|
|
||||||
{
|
|
||||||
name = "JavaSE-21",
|
|
||||||
path = "/usr/lib/jvm/openjdk-bin-21/",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
format = {
|
|
||||||
enabled = true,
|
|
||||||
settings = { -- you can use your preferred format style
|
|
||||||
url = "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
|
|
||||||
profile = "GoogleStyle",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
return {
|
|
||||||
"dccsillag/magma-nvim",
|
|
||||||
ft = "python"
|
|
||||||
}
|
|
||||||
@ -9,8 +9,7 @@ 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,7 +1,6 @@
|
|||||||
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,
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
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,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -38,7 +38,12 @@ return {
|
|||||||
require("nvim-treesitter.configs").setup {
|
require("nvim-treesitter.configs").setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false
|
},
|
||||||
|
autotag = {
|
||||||
|
enable = true,
|
||||||
|
enable_rename = true,
|
||||||
|
enable_close = true,
|
||||||
|
enable_close_on_slash = true,
|
||||||
},
|
},
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"lua",
|
"lua",
|
||||||
|
|||||||
@ -1,22 +1,16 @@
|
|||||||
/* Problem URL: $(URL) */
|
/* Problem URL: $(URL) */
|
||||||
|
|
||||||
#include <bits/stdc++.h>
|
#include <bits/stdc++.h>
|
||||||
#include <ext/pb_ds/assoc_container.hpp>
|
|
||||||
#include <ext/pb_ds/tree_policy.hpp>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace __gnu_pbds;
|
|
||||||
|
|
||||||
template <class T, class comp = less<>>
|
|
||||||
using ordered_set = tree<T, null_type , comp , rb_tree_tag , tree_order_statistics_node_update>;
|
|
||||||
|
|
||||||
#define V vector
|
#define V vector
|
||||||
|
|
||||||
#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 (int i = 0; i < (lim); i++)
|
#define rep(i, lim) for (size_t i = 0; i < (lim); i++)
|
||||||
#define nrep(i, s, lim) for (int i = s; i < (lim); i++)
|
#define nrep(i, s, lim) for (size_t 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