@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
9191vim .g .maplocalleader = ' '
9292
9393-- Set to true if you have a Nerd Font installed and selected in the terminal
94- vim .g .have_nerd_font = false
94+ vim .g .have_nerd_font = true
9595
9696-- [[ Setting options ]]
9797-- See `:help vim.opt`
@@ -268,14 +268,32 @@ vim.opt.rtp:prepend(lazypath)
268268require (' lazy' ).setup ({
269269 -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
270270 ' tpope/vim-sleuth' , -- Detect tabstop and shiftwidth automatically
271-
271+ -- NOTE: nvim-tree - FQ
272+ {
273+ ' nvim-tree/nvim-tree.lua' ,
274+ dependencies = {
275+ ' nvim-tree/nvim-web-devicons' , -- optional, for file icons
276+ },
277+ version = ' *' ,
278+ lazy = false ,
279+ config = function ()
280+ require (' nvim-tree' ).setup {}
281+ -- Optional: Keybinding to toggle nvim-tree
282+ vim .keymap .set (' n' , ' <leader>e' , ' :NvimTreeToggle<CR>' , { desc = ' Toggle File Explorer (nvim-tree)' })
283+ end ,
284+ },
285+ -- --NOTE: Kanso Theme - FQ
286+ -- {
287+ -- 'webhooked/kanso.nvim',
288+ -- lazy = false,
289+ -- priority = 1000,
290+ -- },
272291 -- NOTE: Plugins can also be added by using a table,
273292 -- with the first argument being the link and the following
274293 -- keys can be used to configure plugin behavior/loading/etc.
275294 --
276295 -- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded.
277296 --
278-
279297 -- Alternatively, use `config = function() ... end` for full control over the configuration.
280298 -- If you prefer to call `setup` explicitly, use:
281299 -- {
@@ -370,8 +388,13 @@ require('lazy').setup({
370388 },
371389 },
372390 },
373-
374- -- NOTE: Avante!
391+ -- NOTE: Avante blink cmp
392+ {
393+ ' Kaiser-Yang/blink-cmp-avante' ,
394+ dependencies = { ' saghen/blink.cmp' , ' yetone/avante.nvim' },
395+ lazy = false ,
396+ },
397+ -- NOTE: Avante! Setup
375398
376399 {
377400 ' yetone/avante.nvim' ,
@@ -380,10 +403,10 @@ require('lazy').setup({
380403 opts = {
381404 -- add any opts here
382405 -- for example
383- provider = ' openai ' ,
406+ provider = ' claude ' ,
384407 openai = {
385- endpoint = ' https://api.openai .com/v1 ' ,
386- model = ' gpt-4o ' , -- your desired model (or use gpt-4o, etc.)
408+ endpoint = ' https://api.anthropic .com' ,
409+ model = ' claude-3-7-sonnet-20250219 ' , -- your desired model (or use gpt-4o, etc.)
387410 timeout = 30000 , -- Timeout in milliseconds, increase this for reasoning models
388411 temperature = 0 ,
389412 max_completion_tokens = 8192 , -- Increase this to include reasoning tokens (for reasoning models)
@@ -432,7 +455,6 @@ require('lazy').setup({
432455 },
433456 },
434457 },
435-
436458 -- NOTE: Plugins can specify dependencies.
437459 --
438460 -- The dependencies are proper plugin specifications as well - anything
@@ -864,6 +886,10 @@ require('lazy').setup({
864886 event = ' VimEnter' ,
865887 version = ' 1.*' ,
866888 dependencies = {
889+ --
890+ --
891+ --
892+ ' Kaiser-Yang/blink-cmp-avante' ,
867893 -- Snippet Engine
868894 {
869895 ' L3MON4D3/LuaSnip' ,
@@ -935,13 +961,58 @@ require('lazy').setup({
935961 documentation = { auto_show = false , auto_show_delay_ms = 500 },
936962 },
937963
964+ -- providers = {
965+ -- lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
966+ -- avante_commands = {
967+ -- name = 'avante_commands',
968+ -- module = 'blink.compat.source',
969+ -- score_offset = 90,
970+ -- opts = {},
971+ -- },
972+ -- avante_files = {
973+ -- name = 'avante_files',
974+ -- module = 'blink.compat.source',
975+ -- score_offset = 100,
976+ -- opts = {},
977+ -- },
978+ -- avante_mentions = {
979+ -- name = 'avante_mentions',
980+ -- module = 'blink.compat.source',
981+ -- score_offset = 1000,
982+ -- opts = {},
983+ -- },
984+ -- },
985+ -- },
986+ --
938987 sources = {
939- default = { ' lsp' , ' path' , ' snippets' , ' lazydev' },
988+ default = { ' avante ' , ' lsp' , ' path' , ' snippets' , ' lazydev' },
940989 providers = {
941- lazydev = { module = ' lazydev.integrations.blink' , score_offset = 100 },
990+ lazydev = {
991+ module = ' lazydev.integrations.blink' ,
992+ score_offset = 100 ,
993+ },
994+ avante = {
995+ name = ' Avante' ,
996+ module = ' blink-cmp-avante' ,
997+ opts = {
998+ command = {
999+ get_kind_name = function ()
1000+ return ' AvanteCmd'
1001+ end ,
1002+ },
1003+ mention = {
1004+ get_kind_name = function ()
1005+ return ' AvanteMention'
1006+ end ,
1007+ },
1008+ kind_icons = {
1009+ AvanteCmd = ' ' ,
1010+ AvanteMention = ' ' ,
1011+ },
1012+ },
1013+ },
9421014 },
9431015 },
944-
9451016 snippets = { preset = ' luasnip' },
9461017
9471018 -- Blink.cmp includes an optional, recommended rust fuzzy matcher,
@@ -963,21 +1034,50 @@ require('lazy').setup({
9631034 -- change the command in the config to whatever the name of that colorscheme is.
9641035 --
9651036 -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
966- ' folke/tokyonight.nvim' ,
1037+ -- 'folke/tokyonight.nvim',
1038+
1039+ ' webhooked/kanso.nvim' ,
1040+ commit = ' 62e9c5d' ,
9671041 priority = 1000 , -- Make sure to load this before all the other start plugins.
9681042 config = function ()
969- --- @diagnostic disable-next-line : missing-fields
970- require (' tokyonight' ).setup {
971- styles = {
972- comments = { italic = false }, -- Disable italics in comments
1043+ -- -@diagnostic disable-next-line: missing-fields
1044+ -- require('tokyonight').setup {
1045+ -- styles = {
1046+ -- comments = { italic = false }, -- Disable italics in comments
1047+ -- },
1048+ -- }
1049+ -- Default options:
1050+ require (' kanso' ).setup {
1051+ compile = false , -- enable compiling the colorscheme
1052+ undercurl = true , -- enable undercurls
1053+ commentStyle = { italic = true },
1054+ functionStyle = {},
1055+ keywordStyle = { italic = true },
1056+ statementStyle = {},
1057+ typeStyle = {},
1058+ disableItalics = false ,
1059+ transparent = false , -- do not set background color
1060+ dimInactive = false , -- dim inactive window `:h hl-NormalNC`
1061+ terminalColors = true , -- define vim.g.terminal_color_{0,17}
1062+ colors = { -- add/modify theme and palette colors
1063+ palette = {},
1064+ theme = { zen = {}, pearl = {}, ink = {}, all = {} },
1065+ },
1066+ overrides = function (colors ) -- add/modify highlights
1067+ return {}
1068+ end ,
1069+ theme = ' zen' , -- Load "zen" theme
1070+ background = { -- map the value of 'background' option to a theme
1071+ dark = ' zen' , -- try "ink" or "zen"!
1072+ light = ' pearl' ,
9731073 },
9741074 }
9751075
976- -- Load the colorscheme here.
1076+ -- -- Load the colorscheme here.
9771077 -- Like many other themes, this one has different styles, and you could load
9781078 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
9791079 -- vim.cmd.colorscheme 'tokyonight-night'
980- vim .cmd .colorscheme ' default '
1080+ vim .cmd .colorscheme ' kanso-zen '
9811081 end ,
9821082 },
9831083
@@ -1094,6 +1194,8 @@ require('lazy').setup({
10941194 },
10951195 },
10961196})
1197+ -- vim.api.nvim_set_hl(0, 'BlinkCmpKindAvanteCmd', { default = false, fg = '#89b4fa' })
1198+ -- vim.api.nvim_set_hl(0, 'BlinkCmpKindAvanteMention', { default = false, fg = '#f38ba8' })
10971199
10981200-- The line beneath this is called `modeline`. See `:help modeline`
10991201-- vim: ts=2 sts=2 sw=2 et
0 commit comments