mirror of
				https://github.com/halfdan/dotfiles.git
				synced 2025-10-31 12:36:12 +00:00 
			
		
		
		
	nvim
This commit is contained in:
		
							
								
								
									
										13
									
								
								.config/nvim/after/plugin/elixir.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.config/nvim/after/plugin/elixir.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -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, | ||||
|   } | ||||
| } | ||||
| @@ -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") | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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('<C-h>', '<C-w>h') | ||||
| -- nnoremap('<C-j>', '<C-w>j') | ||||
| -- nnoremap('<C-k>', '<C-w>k') | ||||
| -- nnoremap('<C-l>', '<C-w>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('<C-Up>', ':resize -2<CR>') | ||||
| nnoremap('<C-Down>', ':resize +2<CR>') | ||||
| nnoremap('<C-Left>', ':vertical resize -2<CR>') | ||||
| nnoremap('<C-Right>', ':vertical resize +2<CR>') | ||||
| -- Move selected line / block of text in visual mode | ||||
| xnoremap('J', ':move \'>+1<CR>gv-gv') | ||||
| xnoremap('K', ':move \'<-2<CR>gv-gv') | ||||
|  | ||||
| nnoremap('Q', '<Nop>') | ||||
|  | ||||
| -- better indenting | ||||
| vnoremap('<', '<gv') | ||||
| vnoremap('>', '>gv') | ||||
|  | ||||
| -- improved keyboard support for navigation (especially terminal) | ||||
| nnoremap('<leader>h', '<C-w>h') | ||||
| @@ -31,6 +38,17 @@ nnoremap('<A-l>', '<C-w>l') | ||||
| nnoremap('<leader>th', '<C-w>t<C-w>H') | ||||
| nnoremap('<leader>tk', '<C-w>t<C-w>K') | ||||
|  | ||||
| -- Keybindings below this are neovim cli only | ||||
| if vim.g.vscode then | ||||
|   return | ||||
| end | ||||
|  | ||||
| -- resize with arrows | ||||
| nnoremap('<C-Up>', ':resize -2<CR>') | ||||
| nnoremap('<C-Down>', ':resize +2<CR>') | ||||
| nnoremap('<C-Left>', ':vertical resize -2<CR>') | ||||
| nnoremap('<C-Right>', ':vertical resize +2<CR>') | ||||
|  | ||||
| -- Make adjusting split sizes a bit more friendly | ||||
| vim.cmd([[ | ||||
|     noremap <silent> <C-Left> :vertical resize +3<CR> | ||||
| @@ -39,10 +57,6 @@ vim.cmd([[ | ||||
|     noremap <silent> <C-Down> :resize -3<CR> | ||||
| ]]) | ||||
|  | ||||
| -- better indenting | ||||
| vnoremap('<', '<gv') | ||||
| vnoremap('>', '>gv') | ||||
|  | ||||
| -- Tab switch buffer | ||||
| nnoremap('<TAB>', ':bnext<CR>') | ||||
| nnoremap('<S-TAB>', ':bprevious<CR>') | ||||
| @@ -51,11 +65,6 @@ nnoremap('<S-TAB>', ':bprevious<CR>') | ||||
| nnoremap('[q', ':cprev<CR>') | ||||
| nnoremap(']q', ':cnext<CR>') | ||||
|  | ||||
| -- Move selected line / block of text in visual mode | ||||
| xnoremap('J', ':move \'>+1<CR>gv-gv') | ||||
| xnoremap('K', ':move \'<-2<CR>gv-gv') | ||||
|  | ||||
| nnoremap('Q', '<Nop>') | ||||
|  | ||||
| -- Tagbar | ||||
| nnoremap('<Leader>hl', ':nohl<CR>') | ||||
| @@ -85,10 +94,3 @@ nnoremap("<C-t>", function() require("harpoon.ui").nav_file(2) end) | ||||
| nnoremap("<C-n>", function() require("harpoon.ui").nav_file(3) end) | ||||
| nnoremap("<C-s>", 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') | ||||
|   | ||||
| @@ -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", "<leader>fp", ":ElixirFromPipe<cr>", map_opts) | ||||
|     -- add the pipe operator | ||||
|     vim.keymap.set("n", "<leader>tp", ":ElixirToPipe<cr>", map_opts) | ||||
|     vim.keymap.set("v", "<leader>em", ":ElixirExpandMacro<cr>", 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", "<space>fp", ":ElixirFromPipe<cr>", { buffer = true, noremap = true }) | ||||
|       vim.keymap.set("n", "<space>tp", ":ElixirToPipe<cr>", { buffer = true, noremap = true }) | ||||
|       vim.keymap.set("v", "<space>em", ":ElixirExpandMacro<cr>", { 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", "<leader>fp", ":ElixirFromPipe<cr>", map_opts) | ||||
| --     -- add the pipe operator | ||||
| --     vim.keymap.set("n", "<leader>tp", ":ElixirToPipe<cr>", map_opts) | ||||
| --     vim.keymap.set("v", "<leader>em", ":ElixirExpandMacro<cr>", 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 = { | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -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" } }) | ||||
|   | ||||
| @@ -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"} }), | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| if vim.g.vscode then | ||||
|   return | ||||
| end | ||||
|  | ||||
| require('notify').setup({ | ||||
|   background_colour = "#000000", | ||||
|   max_width = 120, | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| if vim.g.vscode then | ||||
|   return | ||||
| end | ||||
|  | ||||
| local ok, nls = pcall(require, 'null-ls') | ||||
|  | ||||
| if not ok then | ||||
|   | ||||
| @@ -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" | ||||
| ]]) | ||||
|   | ||||
| @@ -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("<C-p>", function() | ||||
| end) | ||||
|  | ||||
| nnoremap("<Leader>ff", function() | ||||
|   builtin.find_files({ | ||||
|     hidden=true, | ||||
|   }) | ||||
|   require('telescope').extensions.smart_open.smart_open({cwd_only = true}) | ||||
|   -- builtin.find_files({ | ||||
|   --   hidden=true, | ||||
|   -- }) | ||||
| end) | ||||
| nnoremap("<Leader>fh", function() | ||||
|   builtin.find_files{cwd=vim.fn.expand('%:p:h')} | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| if vim.g.vscode then | ||||
|   return | ||||
| end | ||||
|  | ||||
| require'nvim-treesitter.configs'.setup { | ||||
|   textobjects = { | ||||
|     select = { | ||||
|   | ||||
							
								
								
									
										88
									
								
								.config/nvim/lua/.luarc.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										88
									
								
								.config/nvim/lua/.luarc.json
									
									
									
									
									
										Normal file
									
								
							| @@ -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" | ||||
|     ] | ||||
| } | ||||
| @@ -72,7 +72,7 @@ cmp.setup({ | ||||
|     end | ||||
|   }, | ||||
|   experimental = { | ||||
|     ghost_text = true, | ||||
|     ghost_text = false, | ||||
|   } | ||||
| }) | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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", | ||||
|       }, | ||||
|     }, | ||||
|   } | ||||
| }) | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -1,3 +1,7 @@ | ||||
| if vim.g.vscode then | ||||
|   return | ||||
| end | ||||
|  | ||||
| -- Global remapping | ||||
| ------------------------------ | ||||
| -- '--color=never', | ||||
|   | ||||
| @@ -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") | ||||
|   | ||||
| @@ -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" }, | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user