diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 13:42:12 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 13:42:12 +0100 |
| commit | dfb342da4ebee21f29fa0713be5e61123a0cf36f (patch) | |
| tree | 841e119a8335bb00bdf4b5a10c88ec352fcf8e30 /lua/simenandre/plugins/ai.lua | |
| parent | 9ae165fa0d8cd1ecc433026642484c167c3e0b88 (diff) | |
| download | config.nvim-dfb342da4ebee21f29fa0713be5e61123a0cf36f.tar.gz config.nvim-dfb342da4ebee21f29fa0713be5e61123a0cf36f.zip | |
refactor: restructure LSP configuration and modernize plugins
- Split LSP server configs into separate files in lsp/ directory
- Replace deprecated vim.loop with vim.uv API
- Update copilot plugin (copilot.vim → copilot.lua)
- Add snacks.nvim plugin for utilities
- Simplify LSP setup using new Neovim 0.11+ APIs
- Remove hardcoded paths in favor of vim.fs.joinpath
- Clean up configuration and remove duplicate keybindings
- Remove comment.lua plugin
Diffstat (limited to 'lua/simenandre/plugins/ai.lua')
| -rw-r--r-- | lua/simenandre/plugins/ai.lua | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lua/simenandre/plugins/ai.lua b/lua/simenandre/plugins/ai.lua index 3d66fb6..0adfb52 100644 --- a/lua/simenandre/plugins/ai.lua +++ b/lua/simenandre/plugins/ai.lua @@ -1,9 +1,24 @@ return { - "github/copilot.vim", + { + "zbirenbaum/copilot.lua", + cmd = "Copilot", + event = "InsertEnter", + opts = { + suggestion = { + auto_trigger = true, + keymap = { + accept = "<M-l>", + next = "<M-]>", + prev = "<M-[>", + dismiss = "<C-]>", + }, + }, + }, + }, { "greggh/claude-code.nvim", dependencies = { - "nvim-lua/plenary.nvim", -- Required for git operations + "nvim-lua/plenary.nvim", }, config = function() require("claude-code").setup() |
