|
6 | 6 | ======== .-----. ======== |
7 | 7 | ======== .----------------------. | === | ======== |
8 | 8 | ======== |.-""""""""""""""""""-.| |-----| ======== |
9 | | -======== || || | === | ======== |
10 | 9 | ======== || KICKSTART.NVIM || |-----| ======== |
11 | 10 | ======== || || | === | ======== |
| 11 | +======== || || | === | ======== |
12 | 12 | ======== || || |-----| ======== |
13 | 13 | ======== ||:Tutor || |:::::| ======== |
14 | 14 | ======== |'-..................-'| |____o| ======== |
@@ -371,6 +371,68 @@ require('lazy').setup({ |
371 | 371 | }, |
372 | 372 | }, |
373 | 373 |
|
| 374 | + --NOTE: Avante! |
| 375 | + |
| 376 | + { |
| 377 | + 'yetone/avante.nvim', |
| 378 | + event = 'VeryLazy', |
| 379 | + version = false, -- Never set this value to "*"! Never! |
| 380 | + opts = { |
| 381 | + -- add any opts here |
| 382 | + -- for example |
| 383 | + provider = 'openai', |
| 384 | + openai = { |
| 385 | + endpoint = 'https://api.openai.com/v1', |
| 386 | + model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.) |
| 387 | + timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models |
| 388 | + temperature = 0, |
| 389 | + max_completion_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) |
| 390 | + --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models |
| 391 | + }, |
| 392 | + }, |
| 393 | + -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` |
| 394 | + build = 'make', |
| 395 | + -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows |
| 396 | + dependencies = { |
| 397 | + 'nvim-treesitter/nvim-treesitter', |
| 398 | + 'stevearc/dressing.nvim', |
| 399 | + 'nvim-lua/plenary.nvim', |
| 400 | + 'MunifTanjim/nui.nvim', |
| 401 | + --- The below dependencies are optional, |
| 402 | + 'echasnovski/mini.pick', -- for file_selector provider mini.pick |
| 403 | + 'nvim-telescope/telescope.nvim', -- for file_selector provider telescope |
| 404 | + 'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions |
| 405 | + 'ibhagwan/fzf-lua', -- for file_selector provider fzf |
| 406 | + 'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons |
| 407 | + 'zbirenbaum/copilot.lua', -- for providers='copilot' |
| 408 | + { |
| 409 | + -- support for image pasting |
| 410 | + 'HakonHarnes/img-clip.nvim', |
| 411 | + event = 'VeryLazy', |
| 412 | + opts = { |
| 413 | + -- recommended settings |
| 414 | + default = { |
| 415 | + embed_image_as_base64 = false, |
| 416 | + prompt_for_file_name = false, |
| 417 | + drag_and_drop = { |
| 418 | + insert_mode = true, |
| 419 | + }, |
| 420 | + -- required for Windows users |
| 421 | + use_absolute_path = true, |
| 422 | + }, |
| 423 | + }, |
| 424 | + }, |
| 425 | + { |
| 426 | + -- Make sure to set this up properly if you have lazy=true |
| 427 | + 'MeanderingProgrammer/render-markdown.nvim', |
| 428 | + opts = { |
| 429 | + file_types = { 'markdown', 'Avante' }, |
| 430 | + }, |
| 431 | + ft = { 'markdown', 'Avante' }, |
| 432 | + }, |
| 433 | + }, |
| 434 | + }, |
| 435 | + |
374 | 436 | -- NOTE: Plugins can specify dependencies. |
375 | 437 | -- |
376 | 438 | -- The dependencies are proper plugin specifications as well - anything |
|
0 commit comments