diff --git a/init.lua b/init.lua index 9f30a5b8..59cdfd4b 100644 --- a/init.lua +++ b/init.lua @@ -86,6 +86,9 @@ require('lazy').setup({ -- Some Primeagen 'ThePrimeagen/harpoon', + -- Copilot + 'github/copilot.vim', + -- NOTE: This is where your plugins related to LSP can be installed. -- The configuration is done below. Search for lspconfig to find it below. { @@ -245,6 +248,12 @@ require('lazy').setup({ -- -- An additional note is that if you only copied in the `init.lua`, you can just comment this line -- to get rid of the warning telling you that there are not plugins in `lua/custom/plugins/`. + -- { + -- "olrtg/nvim-emmet", + -- config = function() + -- vim.keymap.set({ "n", "v" }, 'xe', require('nvim-emmet').wrap_with_abbreviation) + -- end, + -- }, { import = 'custom.plugins' }, }, {}) @@ -508,6 +517,7 @@ local servers = { pyright = {}, -- rust_analyzer = {}, -- tsserver = {}, + -- emmet_language_server = {}, lua_ls = { Lua = { @@ -561,15 +571,15 @@ cmp.setup { behavior = cmp.ConfirmBehavior.Replace, select = true, }, - [''] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_next_item() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() - else - fallback() - end - end, { 'i', 's' }), + -- [''] = cmp.mapping(function(fallback) + -- if cmp.visible() then + -- cmp.select_next_item() + -- elseif luasnip.expand_or_jumpable() then + -- luasnip.expand_or_jump() + -- else + -- fallback() + -- end + -- end, { 'i', 's' }), [''] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item()