This commit is contained in:
Dmitri 2025-04-12 15:06:16 +02:00
parent a7328d4cff
commit 74f4471702
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
5 changed files with 73 additions and 20 deletions

7
.zshrc
View File

@ -57,3 +57,10 @@ bindkey '^[[1;5D' backward-word # Ctrl+Left (usually)
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
# bun completions
[ -s "/home/user/.bun/_bun" ] && source "/home/user/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"

View File

@ -51,3 +51,8 @@ vim.opt.conceallevel = 2
vim.g.loaded_perl_provider = 0
vim.g.loaded_ruby_provider = 0
vim.g.loaded_netrw = 0
vim.o.foldlevel = 0

View File

@ -29,26 +29,26 @@ return {
"onsails/lspkind-nvim",
event = "InsertEnter",
},
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = { enabled = false },
panel = { enabled = false },
})
end,
},
{
"zbirenbaum/copilot-cmp",
config = function()
require("copilot_cmp").setup({
event = { "InsertEnter", "LspAttach" },
fix_pairs = true,
})
end
}
-- {
-- "zbirenbaum/copilot.lua",
-- cmd = "Copilot",
-- event = "InsertEnter",
-- config = function()
-- require("copilot").setup({
-- suggestion = { enabled = false },
-- panel = { enabled = false },
-- })
-- end,
-- },
-- {
-- "zbirenbaum/copilot-cmp",
-- config = function()
-- require("copilot_cmp").setup({
-- event = { "InsertEnter", "LspAttach" },
-- fix_pairs = true,
-- })
-- end
-- }
},
config = function()
local cmp = require("cmp")

View File

@ -12,6 +12,7 @@ local lsp_servers = {
local tools = {
"luacheck",
"latexindent",
"prettierd"
}
local on_attach = function(_, bufnr)

View File

@ -0,0 +1,40 @@
return {
"nvim-neorg/neorg",
lazy = true, -- Enable lazy loading
version = "*", -- Pin Neorg to the latest stable release
cmd = "Neorg", -- Load when the Neorg command is used
ft = "norg", -- Load when a .norg file is opened
build = ":Neorg sync-parsers",
config = function()
require("neorg").setup({
load = {
["core.defaults"] = {},
["core.dirman"] = {
config = {
workspaces = {
default = "~/Documents/notes",
},
default_workspace = "default",
index = "index.norg",
}
},
["core.journal"] = {
config = {
workspace = "default"
},
},
["core.concealer"] = {
config = {
icon_preset = "varied",
},
},
-- ["core.export"] = {
-- config = {}
-- },
-- ["core.export.markdown"] = {
-- config = {}
-- }
}
})
end,
}