Neovim changes

pull/2/head
E. Almqvist 2 years ago
parent 0f25defcca
commit 42ecaaba89
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 6
      nvim/.config/nvim/after/plugin/lsp.lua
  2. 4
      nvim/.config/nvim/lua/evim/packer.lua
  3. 10
      nvim/.config/nvim/plugin/packer_compiled.lua

@ -13,9 +13,9 @@ lsp.ensure_installed({
local cmp = require("cmp") local cmp = require("cmp")
local cmp_select = { behavior = cmp.SelectBehavior.Select } local cmp_select = { behavior = cmp.SelectBehavior.Select }
local cmp_mappings = lsp.defaults.cmp_mappings({ local cmp_mappings = lsp.defaults.cmp_mappings({
["<C-p>"] = cmp.mapping.select_prev_item(cmp_select), ["<C-k>"] = cmp.mapping.select_prev_item(cmp_select),
["<C-n>"] = cmp.mapping.select_next_item(cmp_select), ["<C-j>"] = cmp.mapping.select_next_item(cmp_select),
["<C-y>"] = cmp.mapping.confirm({ select = true }), -- ["<C-y>"] = cmp.mapping.confirm({ select = true }),
["<C-Space>"] = cmp.mapping.complete(), ["<C-Space>"] = cmp.mapping.complete(),
}) })

@ -57,4 +57,8 @@ return require("packer").startup(function(use)
require("todo-comments").setup({}) require("todo-comments").setup({})
end end
} }
use {
"windwp/nvim-autopairs",
config = function() require("nvim-autopairs").setup {} end
}
end) end)

@ -120,6 +120,12 @@ _G.packer_plugins = {
path = "/home/elal/.local/share/nvim/site/pack/packer/start/melange-nvim", path = "/home/elal/.local/share/nvim/site/pack/packer/start/melange-nvim",
url = "https://github.com/savq/melange-nvim" url = "https://github.com/savq/melange-nvim"
}, },
["nvim-autopairs"] = {
config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" },
loaded = true,
path = "/home/elal/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
url = "https://github.com/windwp/nvim-autopairs"
},
["nvim-cmp"] = { ["nvim-cmp"] = {
loaded = true, loaded = true,
path = "/home/elal/.local/share/nvim/site/pack/packer/start/nvim-cmp", path = "/home/elal/.local/share/nvim/site/pack/packer/start/nvim-cmp",
@ -174,6 +180,10 @@ time([[Defining packer_plugins]], false)
time([[Config for todo-comments.nvim]], true) time([[Config for todo-comments.nvim]], true)
try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim")
time([[Config for todo-comments.nvim]], false) time([[Config for todo-comments.nvim]], false)
-- Config for: nvim-autopairs
time([[Config for nvim-autopairs]], true)
try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")
time([[Config for nvim-autopairs]], false)
-- Config for: Comment.nvim -- Config for: Comment.nvim
time([[Config for Comment.nvim]], true) time([[Config for Comment.nvim]], true)
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\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") 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\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")

Loading…
Cancel
Save