diff --git a/.zshrc b/.zshrc index a138343..6d712cb 100644 --- a/.zshrc +++ b/.zshrc @@ -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" diff --git a/nvim/lua/kanopo/options.lua b/nvim/lua/kanopo/options.lua index 090b3d7..cd6dc12 100644 --- a/nvim/lua/kanopo/options.lua +++ b/nvim/lua/kanopo/options.lua @@ -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 diff --git a/nvim/lua/kanopo/plugins/cmp.lua b/nvim/lua/kanopo/plugins/cmp.lua index 08b4886..61593b5 100644 --- a/nvim/lua/kanopo/plugins/cmp.lua +++ b/nvim/lua/kanopo/plugins/cmp.lua @@ -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") diff --git a/nvim/lua/kanopo/plugins/lsp.lua b/nvim/lua/kanopo/plugins/lsp.lua index 0842427..c2514c2 100644 --- a/nvim/lua/kanopo/plugins/lsp.lua +++ b/nvim/lua/kanopo/plugins/lsp.lua @@ -12,6 +12,7 @@ local lsp_servers = { local tools = { "luacheck", "latexindent", + "prettierd" } local on_attach = function(_, bufnr) diff --git a/nvim/lua/kanopo/plugins/neorg.lua b/nvim/lua/kanopo/plugins/neorg.lua new file mode 100644 index 0000000..93d139d --- /dev/null +++ b/nvim/lua/kanopo/plugins/neorg.lua @@ -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, +}