diff --git a/nvim/init.lua b/nvim/init.lua index d58f468..262269a 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -82,7 +82,18 @@ require('packer').startup(function(use) use 'maxbrunsfeld/vim-yankstack' use 'ntpeters/vim-better-whitespace' - use 'github/copilot.vim' + + use { + "zbirenbaum/copilot.lua", + cmd = "Copilot", + event = "InsertEnter", + config = function () + vim.schedule(function() + require("copilot").setup() + end) + end, +} + use 'majutsushi/tagbar' -- Parens @@ -106,6 +117,9 @@ require('packer').startup(function(use) -- Latex preview use {'xuhdev/vim-latex-live-preview', ft = 'tex', bufread = true} + -- LTeX local code actions + use { "barreiroleo/ltex-extra.nvim" } + -- DevOps Quatsch use {'cespare/vim-toml', ft = 'toml'} use {'mrk21/yaml-vim', ft = 'yaml'} @@ -394,12 +408,9 @@ vim.g.yankstack_map_keys = 0 vim.keymap.set('n', '', 'yankstack_substitute_newer_paste') vim.keymap.set('n', '', 'yankstack_substitute_older_paste') --- copilot -vim.cmd[[ - imap