diff --git a/.config/nvim/after/plugin/elixir.lua b/.config/nvim/after/plugin/elixir.lua new file mode 100644 index 0000000..387e3da --- /dev/null +++ b/.config/nvim/after/plugin/elixir.lua @@ -0,0 +1,13 @@ +local elixir = require("elixir") + +elixir.setup { + nextls = { + enable = true, -- defaults to false + }, + credo = { + enable = false, -- defaults to true + }, + elixirls = { + enable = false, + } +} diff --git a/.config/nvim/after/plugin/git-worktree.lua b/.config/nvim/after/plugin/git-worktree.lua index 20801fd..fd4b3fd 100644 --- a/.config/nvim/after/plugin/git-worktree.lua +++ b/.config/nvim/after/plugin/git-worktree.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local Worktree = require("git-worktree") local Job = require("plenary.job") local FTerm = require("FTerm") diff --git a/.config/nvim/after/plugin/jira.lua b/.config/nvim/after/plugin/jira.lua index 9c4f21c..0d3cfdd 100644 --- a/.config/nvim/after/plugin/jira.lua +++ b/.config/nvim/after/plugin/jira.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local nnoremap = require('halfdan.keymap').nnoremap local actions = require("telescope.actions") local action_state = require "telescope.actions.state" diff --git a/.config/nvim/after/plugin/keymappings.lua b/.config/nvim/after/plugin/keymappings.lua index 048862e..1b953c5 100644 --- a/.config/nvim/after/plugin/keymappings.lua +++ b/.config/nvim/after/plugin/keymappings.lua @@ -1,3 +1,4 @@ + local Remap = require("halfdan.keymap") local nnoremap = Remap.nnoremap local vnoremap = Remap.vnoremap @@ -5,17 +6,23 @@ local inoremap = Remap.inoremap local xnoremap = Remap.xnoremap local nmap = Remap.nmap --- better window movement --- nnoremap('', 'h') --- nnoremap('', 'j') --- nnoremap('', 'k') --- nnoremap('', 'l') +-- Yank until end of line +nnoremap('Y', 'yg$') +-- Next item, but center line +nnoremap('n', 'nzzzv') +nnoremap('N', 'Nzzzv') +-- Join line but keep cursor intact +nnoremap('J', 'mzJ`z') --- resize with arrows -nnoremap('', ':resize -2') -nnoremap('', ':resize +2') -nnoremap('', ':vertical resize -2') -nnoremap('', ':vertical resize +2') +-- Move selected line / block of text in visual mode +xnoremap('J', ':move \'>+1gv-gv') +xnoremap('K', ':move \'<-2gv-gv') + +nnoremap('Q', '') + +-- better indenting +vnoremap('<', '', '>gv') -- improved keyboard support for navigation (especially terminal) nnoremap('h', 'h') @@ -31,6 +38,17 @@ nnoremap('', 'l') nnoremap('th', 'tH') nnoremap('tk', 'tK') +-- Keybindings below this are neovim cli only +if vim.g.vscode then + return +end + +-- resize with arrows +nnoremap('', ':resize -2') +nnoremap('', ':resize +2') +nnoremap('', ':vertical resize -2') +nnoremap('', ':vertical resize +2') + -- Make adjusting split sizes a bit more friendly vim.cmd([[ noremap :vertical resize +3 @@ -39,10 +57,6 @@ vim.cmd([[ noremap :resize -3 ]]) --- better indenting -vnoremap('<', '', '>gv') - -- Tab switch buffer nnoremap('', ':bnext') nnoremap('', ':bprevious') @@ -51,11 +65,6 @@ nnoremap('', ':bprevious') nnoremap('[q', ':cprev') nnoremap(']q', ':cnext') --- Move selected line / block of text in visual mode -xnoremap('J', ':move \'>+1gv-gv') -xnoremap('K', ':move \'<-2gv-gv') - -nnoremap('Q', '') -- Tagbar nnoremap('hl', ':nohl') @@ -85,10 +94,3 @@ nnoremap("", function() require("harpoon.ui").nav_file(2) end) nnoremap("", function() require("harpoon.ui").nav_file(3) end) nnoremap("", function() require("harpoon.ui").nav_file(4) end) --- Yank until end of line -nnoremap('Y', 'yg$') --- Next item, but center line -nnoremap('n', 'nzzzv') -nnoremap('N', 'Nzzzv') --- Join line but keep cursor intact -nnoremap('J', 'mzJ`z') diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index a49e65a..d7fd41c 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local Remap = require("halfdan.keymap") local nnoremap = Remap.nnoremap local inoremap = Remap.inoremap @@ -120,45 +124,76 @@ local function config(_config) return _config end -local elixir = require('elixir') -elixir.setup(config({ - -- repo = "mhanberg/elixir-ls", -- defaults to elixir-lsp/elixir-ls - -- branch = "mh/all-workspace-symbols", -- defaults to nil, just checkouts out the default branch, mutually exclusive with the `tag` option - cmd = {"/usr/local/opt/elixir-ls/rel/language_server.sh"}, - settings = elixir.settings({ - dialyzerEnabled = true, - fetchDeps = false, - enableTestLenses = true, - suggestSpecs = false, - }), - on_attach = function(client, bufnr) - on_attach(client, bufnr) - - local map_opts = { buffer = true, noremap = true} - - -- remove the pipe operator - vim.keymap.set("n", "fp", ":ElixirFromPipe", map_opts) - -- add the pipe operator - vim.keymap.set("n", "tp", ":ElixirToPipe", map_opts) - vim.keymap.set("v", "em", ":ElixirExpandMacro", map_opts) - end -})) +local elixir = require("elixir") +local elixirls = require("elixir.elixirls") +elixir.setup { + credo = {}, + elixirls = { + enabled = true, + settings = elixirls.settings { + dialyzerEnabled = false, + enableTestLenses = false, + }, + on_attach = function(client, bufnr) + vim.keymap.set("n", "fp", ":ElixirFromPipe", { buffer = true, noremap = true }) + vim.keymap.set("n", "tp", ":ElixirToPipe", { buffer = true, noremap = true }) + vim.keymap.set("v", "em", ":ElixirExpandMacro", { buffer = true, noremap = true }) + end, + } +} +-- local elixir = require('elixir') +-- elixir.setup(config({ +-- -- repo = "mhanberg/elixir-ls", -- defaults to elixir-lsp/elixir-ls +-- -- branch = "mh/all-workspace-symbols", -- defaults to nil, just checkouts out the default branch, mutually exclusive with the `tag` option +-- cmd = {"/opt/elixir-ls/rel/language_server.sh"}, +-- settings = elixir.settings({ +-- dialyzerEnabled = true, +-- fetchDeps = false, +-- enableTestLenses = true, +-- suggestSpecs = false, +-- }), +-- on_attach = function(client, bufnr) +-- on_attach(client, bufnr) +-- +-- local map_opts = { buffer = true, noremap = true} +-- +-- -- remove the pipe operator +-- vim.keymap.set("n", "fp", ":ElixirFromPipe", map_opts) +-- -- add the pipe operator +-- vim.keymap.set("n", "tp", ":ElixirToPipe", map_opts) +-- vim.keymap.set("v", "em", ":ElixirExpandMacro", map_opts) +-- end +-- })) +-- -- Enable the following language servers local servers = { 'gopls', 'julials', 'rust_analyzer', 'pyright' } for _, lsp in ipairs(servers) do lspconfig[lsp].setup(config()) end -lspconfig.sumneko_lua.setup(config({ +require'lspconfig'.lua_ls.setup { settings = { Lua = { + runtime = { + -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim) + version = 'LuaJIT', + }, diagnostics = { - globals = { 'vim' } - } - } - } -})) + -- Get the language server to recognize the `vim` global + globals = {'vim'}, + }, + workspace = { + -- Make the server aware of Neovim runtime files + library = vim.api.nvim_get_runtime_file("", true), + }, + -- Do not send telemetry data containing a randomized but unique identifier + telemetry = { + enable = false, + }, + }, + }, +} require('rust-tools').setup({ tools = { diff --git a/.config/nvim/after/plugin/lspsaga.lua b/.config/nvim/after/plugin/lspsaga.lua index 644ac6c..47d4deb 100644 --- a/.config/nvim/after/plugin/lspsaga.lua +++ b/.config/nvim/after/plugin/lspsaga.lua @@ -1,5 +1,9 @@ +if vim.g.vscode then + return +end + local saga = require 'lspsaga' -saga.init_lsp_saga({ +saga.setup({ -- symbols in winbar -- symbol_in_winbar = { -- enable = true, diff --git a/.config/nvim/after/plugin/luasnip.lua b/.config/nvim/after/plugin/luasnip.lua index a703abb..5e20c29 100644 --- a/.config/nvim/after/plugin/luasnip.lua +++ b/.config/nvim/after/plugin/luasnip.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + require("luasnip/loaders/from_vscode").lazy_load() -- Load ows snippets require("luasnip.loaders.from_vscode").lazy_load({ paths = { "./snippets" } }) diff --git a/.config/nvim/after/plugin/neotest.lua b/.config/nvim/after/plugin/neotest.lua index 437c4aa..1bc7291 100644 --- a/.config/nvim/after/plugin/neotest.lua +++ b/.config/nvim/after/plugin/neotest.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local nnoremap = require('halfdan.keymap').nnoremap local neotest = require('neotest') @@ -6,6 +10,7 @@ neotest.setup({ adapters = { require("neotest-elixir")({ args = { "--trace" }, + write_delay = 0, }), require("neotest-rust"), -- require("neotest-vim-test")({ allow_file_types = { "haskell"} }), diff --git a/.config/nvim/after/plugin/notify.lua b/.config/nvim/after/plugin/notify.lua index 8a87aba..9ea7077 100644 --- a/.config/nvim/after/plugin/notify.lua +++ b/.config/nvim/after/plugin/notify.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + require('notify').setup({ background_colour = "#000000", max_width = 120, diff --git a/.config/nvim/after/plugin/null-ls.lua b/.config/nvim/after/plugin/null-ls.lua index 57091f6..899a220 100644 --- a/.config/nvim/after/plugin/null-ls.lua +++ b/.config/nvim/after/plugin/null-ls.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local ok, nls = pcall(require, 'null-ls') if not ok then diff --git a/.config/nvim/after/plugin/sneak.lua b/.config/nvim/after/plugin/sneak.lua index d1faae8..0b56728 100644 --- a/.config/nvim/after/plugin/sneak.lua +++ b/.config/nvim/after/plugin/sneak.lua @@ -1,8 +1,12 @@ +if vim.g.vscode then + return +end + vim.cmd([[ let g:sneak#label = 1 let g:sneak#prompt = '🔎' let g:sneak#s_next = 1 let test#strategy = "neovim" - let test#neovim#term_position = "vert rightbelow 50" + let test#neovim#term_position = "vert rightbelow 80" ]]) diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua index 792d7ca..06fdd3b 100644 --- a/.config/nvim/after/plugin/telescope.lua +++ b/.config/nvim/after/plugin/telescope.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + local Remap = require("halfdan.keymap") local nnoremap = Remap.nnoremap local builtin = require("telescope.builtin") @@ -10,9 +14,10 @@ nnoremap("", function() end) nnoremap("ff", function() - builtin.find_files({ - hidden=true, - }) + require('telescope').extensions.smart_open.smart_open({cwd_only = true}) + -- builtin.find_files({ + -- hidden=true, + -- }) end) nnoremap("fh", function() builtin.find_files{cwd=vim.fn.expand('%:p:h')} diff --git a/.config/nvim/after/plugin/treesitter-textobjects.lua b/.config/nvim/after/plugin/treesitter-textobjects.lua index c8f622b..b8b312e 100644 --- a/.config/nvim/after/plugin/treesitter-textobjects.lua +++ b/.config/nvim/after/plugin/treesitter-textobjects.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + require'nvim-treesitter.configs'.setup { textobjects = { select = { diff --git a/.config/nvim/lua/.luarc.json b/.config/nvim/lua/.luarc.json new file mode 100644 index 0000000..5eeabc1 --- /dev/null +++ b/.config/nvim/lua/.luarc.json @@ -0,0 +1,88 @@ +{ + "workspace.library": [ + "/Users/fbecker/.config/nvim", + "/Users/fbecker/.local/share/nvim/site", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/Comment.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/diffview.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/editorconfig-vim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/elixir.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/FTerm.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/git-worktree.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/gruvbox", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/gruvbox-baby", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/harpoon", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/impatient.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lsp-status.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lspkind.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lspsaga.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lualine.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/LuaSnip", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/monokai-pro.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neogit", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neorg", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neorg-telescope", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-elixir", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-rust", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-vim-test", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/null-ls.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-cmp", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-notify", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/packer.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/plenary.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/popup.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/rust.vim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/smart-open.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/sqlite.lua", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/tagbar", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope.nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-dispatch", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-easy-align", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-fugitive", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-gitgutter", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-highlightedyank", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-projectionist", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-sneak", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-surround", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-test", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/zk-nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/friendly-snippets", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/playground", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp_luasnip", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-git", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-tabnine", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-buffer", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-path", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua", + "/Users/fbecker/.asdf/installs/neovim/0.9.0/share/nvim/runtime", + "/Users/fbecker/.asdf/installs/neovim/0.9.0/share/nvim/runtime/pack/dist/opt/matchit", + "/Users/fbecker/.asdf/installs/neovim/0.9.0/lib/nvim", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/gruvbox-baby/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/start/rust.vim/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/playground/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-tabnine/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-path/after", + "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua/after", + "/Users/fbecker/.config/nvim/after", + "/Users/fbecker/code/jira.nvim", + "${3rd}/luassert/library", + "${3rd}/luv/library" + ] +} \ No newline at end of file diff --git a/.config/nvim/lua/halfdan/cmp.lua b/.config/nvim/lua/halfdan/cmp.lua index c27bb76..3bdd37e 100644 --- a/.config/nvim/lua/halfdan/cmp.lua +++ b/.config/nvim/lua/halfdan/cmp.lua @@ -72,7 +72,7 @@ cmp.setup({ end }, experimental = { - ghost_text = true, + ghost_text = false, } }) diff --git a/.config/nvim/lua/halfdan/init.lua b/.config/nvim/lua/halfdan/init.lua index 200d32b..1c3dc74 100644 --- a/.config/nvim/lua/halfdan/init.lua +++ b/.config/nvim/lua/halfdan/init.lua @@ -2,20 +2,26 @@ require("halfdan.packer") require("halfdan.settings") -require("impatient") +if vim.g.vscode then + -- VSCode extension +else + -- ordinary Neovim + vim.notify = require("notify") -require("halfdan.neogit") -require("halfdan.neorg") + require("impatient") -require('halfdan.globals') -require('halfdan.keymap') -require('halfdan.cmp') -require('halfdan.luasnip') -require('halfdan.colorscheme') -require('halfdan.treesitter') -require('halfdan.telescope') -require('halfdan.lualine') + require("halfdan.neogit") + require("halfdan.neorg") + require('halfdan.globals') + require('halfdan.keymap') + require('halfdan.cmp') + require('halfdan.luasnip') + require('halfdan.colorscheme') + require('halfdan.treesitter') + require('halfdan.telescope') + require('halfdan.lualine') -require('halfdan.autocmds') + require('halfdan.autocmds') -require('halfdan.debugger') + require('halfdan.debugger') +end diff --git a/.config/nvim/lua/halfdan/neorg.lua b/.config/nvim/lua/halfdan/neorg.lua index fee47f7..315e6ed 100644 --- a/.config/nvim/lua/halfdan/neorg.lua +++ b/.config/nvim/lua/halfdan/neorg.lua @@ -3,7 +3,7 @@ local neorg = require("neorg") neorg.setup({ load = { ["core.defaults"] = {}, - ["core.norg.dirman"] = { + ["core.dirman"] = { config = { workspaces = { work = "~/org/work", @@ -11,27 +11,17 @@ neorg.setup({ } } }, - ["core.gtd.base"] = { - config = { - workspace = "work", - }, - }, - ["core.norg.completion"] = { + ["core.completion"] = { config = { engine = "nvim-cmp", }, }, - ["core.norg.concealer"] = {}, - ["core.norg.journal"] = { + ["core.concealer"] = {}, + ["core.journal"] = { config = { strategy = "flat", }, }, ["core.integrations.telescope"] = {}, - ["core.norg.esupports.metagen"] = { - config = { - type = "auto", - }, - }, } }) diff --git a/.config/nvim/lua/halfdan/packer.lua b/.config/nvim/lua/halfdan/packer.lua index 7ddff2d..dcf7bc7 100644 --- a/.config/nvim/lua/halfdan/packer.lua +++ b/.config/nvim/lua/halfdan/packer.lua @@ -150,6 +150,13 @@ return require("packer").startup({ use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } use {'nvim-telescope/telescope-dap.nvim'} + + use { + "danielfalk/smart-open.nvim", + branch = "0.1.x", + requires = {"kkharji/sqlite.lua"} + } + use {'theprimeagen/git-worktree.nvim'} use {'theprimeagen/harpoon'} @@ -161,7 +168,8 @@ return require("packer").startup({ -- => Language Support use {'rust-lang/rust.vim'} use {'simrat39/rust-tools.nvim'} - use({ "mhanberg/elixir.nvim", requires = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim" }}) + -- use({ "mhanberg/elixir.nvim", requires = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim" }}) + use {"elixir-tools/elixir-tools.nvim", requires = { "nvim-lua/plenary.nvim" }} use {'tpope/vim-projectionist'} -- use {'JuliaEditorSupport/julia-vim', opt=true} -- vim.g.latex_to_unicode_auto = 1 diff --git a/.config/nvim/lua/halfdan/settings.lua b/.config/nvim/lua/halfdan/settings.lua index 63ad146..0814e71 100644 --- a/.config/nvim/lua/halfdan/settings.lua +++ b/.config/nvim/lua/halfdan/settings.lua @@ -1,5 +1,3 @@ -vim.notify = require("notify") - vim.opt.iskeyword:append("-") -- treat dash separated words as a word text object" vim.opt.shortmess:append("c") -- Don't pass messages to |ins-completion-menu|. vim.opt.inccommand = "split" -- Make substitution work in realtime @@ -44,4 +42,4 @@ vim.g.mapleader = ' ' vim.g.netrw_preview = 1 -- Split preview vertically vim.g.netrw_alo = 1 -- Show preview window to the right vim.g.netrw_winsize = 30 -- Have the preview window take up 70% -vim.g.netrw_liststyle = 3 -- Use tree style +-- vim.g.netrw_liststyle = 3 -- Use tree style diff --git a/.config/nvim/lua/halfdan/telescope-project.lua b/.config/nvim/lua/halfdan/telescope-project.lua index 64e0837..1027025 100644 --- a/.config/nvim/lua/halfdan/telescope-project.lua +++ b/.config/nvim/lua/halfdan/telescope-project.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + -- Global remapping ------------------------------ -- '--color=never', diff --git a/.config/nvim/lua/halfdan/telescope.lua b/.config/nvim/lua/halfdan/telescope.lua index 0782317..750c41f 100644 --- a/.config/nvim/lua/halfdan/telescope.lua +++ b/.config/nvim/lua/halfdan/telescope.lua @@ -4,7 +4,7 @@ local actions = require('telescope.actions') require('telescope').setup { defaults = { -- find_command = { 'rg', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case' }, - file_ignore_patterns = { "_build", "node_modules", "deps" }, + file_ignore_patterns = { "_build", "node_modules", "deps", ".git", ".elixir_ls" }, prompt_prefix = "  ", selection_caret = " ", entry_prefix = " ", @@ -63,3 +63,4 @@ require('telescope').setup { require("telescope").load_extension("git_worktree") require('telescope').load_extension("fzf") require('telescope').load_extension("dap") +require('telescope').load_extension("smart_open") diff --git a/.config/nvim/lua/halfdan/treesitter.lua b/.config/nvim/lua/halfdan/treesitter.lua index 9235149..0e001e8 100644 --- a/.config/nvim/lua/halfdan/treesitter.lua +++ b/.config/nvim/lua/halfdan/treesitter.lua @@ -1,3 +1,7 @@ +if vim.g.vscode then + return +end + require('nvim-treesitter.configs').setup({ ensure_installed = { "python", "go", "elixir", "rust", "gomod", "json", "lua", "ruby", "yaml", "norg", "query" }, ignore_install = { "haskell" }, diff --git a/.config/nvim/plugin/packer_compiled.lua b/.config/nvim/plugin/packer_compiled.lua index 6a9ecb3..e1830fb 100644 --- a/.config/nvim/plugin/packer_compiled.lua +++ b/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/Users/matthiasnienaber/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/matthiasnienaber/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/matthiasnienaber/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/matthiasnienaber/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/Users/matthiasnienaber/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" +local package_path_str = "/Users/fbecker/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/fbecker/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/fbecker/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/fbecker/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/Users/fbecker/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -77,355 +77,355 @@ _G.packer_plugins = { ["Comment.nvim"] = { config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" }, loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/Comment.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/Comment.nvim", url = "https://github.com/numToStr/Comment.nvim" }, ["FTerm.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/FTerm.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/FTerm.nvim", url = "https://github.com/numToStr/FTerm.nvim" }, ["FixCursorHold.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/FixCursorHold.nvim", url = "https://github.com/antoinemadec/FixCursorHold.nvim" }, LuaSnip = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/LuaSnip", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/LuaSnip", url = "https://github.com/L3MON4D3/LuaSnip" }, ["cmp-buffer"] = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after/plugin/cmp_buffer.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after/plugin/cmp_buffer.lua" }, load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-buffer", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-buffer", url = "https://github.com/hrsh7th/cmp-buffer" }, ["cmp-cmdline"] = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-cmdline/after/plugin/cmp_cmdline.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-cmdline/after/plugin/cmp_cmdline.lua" }, load_after = {}, loaded = false, needs_bufread = false, only_cond = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-cmdline", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-cmdline", url = "https://github.com/hrsh7th/cmp-cmdline" }, ["cmp-git"] = { load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-git", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-git", url = "https://github.com/petertriho/cmp-git" }, ["cmp-nvim-lsp"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp", url = "https://github.com/hrsh7th/cmp-nvim-lsp" }, ["cmp-nvim-lua"] = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua" }, load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua", url = "https://github.com/hrsh7th/cmp-nvim-lua" }, ["cmp-path"] = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" }, load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-path", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, ["cmp-tabnine"] = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-tabnine/after/plugin/cmp-tabnine.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-tabnine/after/plugin/cmp-tabnine.lua" }, load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp-tabnine", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp-tabnine", url = "https://github.com/tzachar/cmp-tabnine" }, cmp_luasnip = { - after_files = { "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after/plugin/cmp_luasnip.lua" }, + after_files = { "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp_luasnip/after/plugin/cmp_luasnip.lua" }, load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/cmp_luasnip", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/cmp_luasnip", url = "https://github.com/saadparwaiz1/cmp_luasnip" }, ["diffview.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/diffview.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/diffview.nvim", url = "https://github.com/sindrets/diffview.nvim" }, ["editorconfig-vim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/editorconfig-vim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/editorconfig-vim", url = "https://github.com/editorconfig/editorconfig-vim" }, ["elixir.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/elixir.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/elixir.nvim", url = "https://github.com/mhanberg/elixir.nvim" }, ["friendly-snippets"] = { load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/friendly-snippets", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/friendly-snippets", url = "https://github.com/rafamadriz/friendly-snippets" }, ["git-worktree.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/git-worktree.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/git-worktree.nvim", url = "https://github.com/theprimeagen/git-worktree.nvim" }, gruvbox = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/gruvbox", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/gruvbox", url = "https://github.com/gruvbox-community/gruvbox" }, ["gruvbox-baby"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/gruvbox-baby", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/gruvbox-baby", url = "https://github.com/luisiacc/gruvbox-baby" }, harpoon = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/harpoon", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/harpoon", url = "https://github.com/theprimeagen/harpoon" }, ["impatient.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/impatient.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/impatient.nvim", url = "https://github.com/lewis6991/impatient.nvim" }, ["lsp-status.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/lsp-status.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lsp-status.nvim", url = "https://github.com/nvim-lua/lsp-status.nvim" }, ["lspkind.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/lspkind.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lspkind.nvim", url = "https://github.com/onsails/lspkind.nvim" }, ["lspsaga.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/lspsaga.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lspsaga.nvim", url = "https://github.com/glepnir/lspsaga.nvim" }, ["lualine.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/lualine.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" }, ["monokai-pro.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/monokai-pro.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/monokai-pro.nvim", url = "https://gitlab.com/__tpb/monokai-pro.nvim" }, neogit = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neogit", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neogit", url = "https://github.com/TimUntersberger/neogit" }, neorg = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neorg", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neorg", url = "https://github.com/nvim-neorg/neorg" }, ["neorg-telescope"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neorg-telescope", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neorg-telescope", url = "https://github.com/nvim-neorg/neorg-telescope" }, neotest = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neotest", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest", url = "https://github.com/nvim-neotest/neotest" }, ["neotest-elixir"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neotest-elixir", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-elixir", url = "https://github.com/jfpedroza/neotest-elixir" }, ["neotest-rust"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neotest-rust", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-rust", url = "https://github.com/rouge8/neotest-rust" }, ["neotest-vim-test"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/neotest-vim-test", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/neotest-vim-test", url = "https://github.com/nvim-neotest/neotest-vim-test" }, ["null-ls.nvim"] = { config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fnull-ls\frequire\0" }, loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/null-ls.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/null-ls.nvim", url = "https://github.com/jose-elias-alvarez/null-ls.nvim" }, ["nvim-cmp"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-cmp", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-cmp", url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-dap"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-dap", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap", url = "https://github.com/mfussenegger/nvim-dap" }, ["nvim-dap-ui"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap-ui", url = "https://github.com/rcarriga/nvim-dap-ui" }, ["nvim-dap-virtual-text"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-dap-virtual-text", url = "https://github.com/theHamsta/nvim-dap-virtual-text" }, ["nvim-lsp-installer"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", url = "https://github.com/williamboman/nvim-lsp-installer" }, ["nvim-lspconfig"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-notify"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-notify", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-notify", url = "https://github.com/rcarriga/nvim-notify" }, ["nvim-treesitter"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-treesitter", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-treesitter-textobjects"] = { load_after = {}, loaded = true, needs_bufread = false, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects", url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects" }, ["nvim-web-devicons"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/nvim-web-devicons", url = "https://github.com/kyazdani42/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/packer.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, playground = { load_after = {}, loaded = true, needs_bufread = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/opt/playground", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/opt/playground", url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/plenary.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["popup.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/popup.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/popup.nvim", url = "https://github.com/nvim-lua/popup.nvim" }, ["rust-tools.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/rust-tools.nvim", url = "https://github.com/simrat39/rust-tools.nvim" }, ["rust.vim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/rust.vim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/rust.vim", url = "https://github.com/rust-lang/rust.vim" }, ["symbols-outline.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/symbols-outline.nvim", url = "https://github.com/simrat39/symbols-outline.nvim" }, tagbar = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/tagbar", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/tagbar", url = "https://github.com/preservim/tagbar" }, ["telescope-dap.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope-dap.nvim", url = "https://github.com/nvim-telescope/telescope-dap.nvim" }, ["telescope-fzf-native.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim" }, ["telescope.nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/telescope.nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["vim-dispatch"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-dispatch", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-dispatch", url = "https://github.com/tpope/vim-dispatch" }, ["vim-easy-align"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-easy-align", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-easy-align", url = "https://github.com/junegunn/vim-easy-align" }, ["vim-fugitive"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-fugitive", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-fugitive", url = "https://github.com/tpope/vim-fugitive" }, ["vim-gitgutter"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-gitgutter", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-gitgutter", url = "https://github.com/airblade/vim-gitgutter" }, ["vim-highlightedyank"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-highlightedyank", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-highlightedyank", url = "https://github.com/machakann/vim-highlightedyank" }, ["vim-projectionist"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-projectionist", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-projectionist", url = "https://github.com/tpope/vim-projectionist" }, ["vim-sneak"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-sneak", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-sneak", url = "https://github.com/justinmk/vim-sneak" }, ["vim-surround"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-surround", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-surround", url = "https://github.com/tpope/vim-surround" }, ["vim-test"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/vim-test", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/vim-test", url = "https://github.com/vim-test/vim-test" }, ["zk-nvim"] = { loaded = true, - path = "/Users/matthiasnienaber/.local/share/nvim/site/pack/packer/start/zk-nvim", + path = "/Users/fbecker/.local/share/nvim/site/pack/packer/start/zk-nvim", url = "https://github.com/mickael-menu/zk-nvim" } } @@ -441,16 +441,16 @@ try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K time([[Config for Comment.nvim]], false) -- Load plugins in order defined by `after` time([[Sequenced loading]], true) -vim.cmd [[ packadd nvim-treesitter ]] -vim.cmd [[ packadd playground ]] -vim.cmd [[ packadd nvim-treesitter-textobjects ]] vim.cmd [[ packadd nvim-cmp ]] -vim.cmd [[ packadd cmp-git ]] -vim.cmd [[ packadd cmp-tabnine ]] -vim.cmd [[ packadd cmp_luasnip ]] vim.cmd [[ packadd cmp-nvim-lua ]] -vim.cmd [[ packadd cmp-buffer ]] vim.cmd [[ packadd cmp-path ]] +vim.cmd [[ packadd cmp-buffer ]] +vim.cmd [[ packadd cmp-tabnine ]] +vim.cmd [[ packadd cmp-git ]] +vim.cmd [[ packadd cmp_luasnip ]] +vim.cmd [[ packadd nvim-treesitter ]] +vim.cmd [[ packadd nvim-treesitter-textobjects ]] +vim.cmd [[ packadd playground ]] vim.cmd [[ packadd LuaSnip ]] vim.cmd [[ packadd friendly-snippets ]] time([[Sequenced loading]], false)