Compare commits

..

No commits in common. "2df38d379d508cad3e3aa5c7f006f94fef96b914" and "d1f910db692e141c2da3b4fb16ebb5f2273ff9d0" have entirely different histories.

3 changed files with 51 additions and 62 deletions

View file

@ -48,14 +48,11 @@ require("nvim-treesitter.configs").setup({
}, },
}) })
-- load cmp on InsertEnter local cmp = require("cmp")
vim.api.nvim_create_autocmd("InsertEnter", { local luasnip = require("luasnip")
callback = function() require("copilot_cmp").setup()
local cmp = require("cmp")
local luasnip = require("luasnip")
require("copilot_cmp").setup()
cmp.setup({ cmp.setup({
formatting = { formatting = {
format = require("lspkind").cmp_format({ format = require("lspkind").cmp_format({
mode = "symbol", -- show only symbol annotations mode = "symbol", -- show only symbol annotations
@ -104,8 +101,6 @@ vim.api.nvim_create_autocmd("InsertEnter", {
{ name = "nvim_lsp", priority = 9 }, { name = "nvim_lsp", priority = 9 },
{ name = "orgmode", priority = 9 }, { name = "orgmode", priority = 9 },
}, },
})
end,
}) })
---merge tables ---merge tables

View file

@ -5,5 +5,4 @@ lib.composeManyExtensions [
(import ./packages.nix { inherit inputs lib; }) (import ./packages.nix { inherit inputs lib; })
(import ./vimPlugins.nix { inherit inputs lib; }) (import ./vimPlugins.nix { inherit inputs lib; })
(import ./wayland.nix { inherit inputs lib; }) (import ./wayland.nix { inherit inputs lib; })
(import ./lib.nix { inherit inputs lib; })
] ]

View file

@ -1,5 +0,0 @@
{ lib, inputs }:
final: prev: {
inherit lib;
}