mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix
This commit is contained in:
parent
711730d9ee
commit
f6c8ed920d
6 changed files with 47 additions and 24 deletions
|
|
@ -9,6 +9,7 @@ return {
|
||||||
},
|
},
|
||||||
{ import = "plugins.mod.nvim-tree" },
|
{ import = "plugins.mod.nvim-tree" },
|
||||||
{ import = "plugins.mod.telescope" },
|
{ import = "plugins.mod.telescope" },
|
||||||
|
-- { import = "plugins.mod.fzf" },
|
||||||
{
|
{
|
||||||
"ahmedkhalf/project.nvim",
|
"ahmedkhalf/project.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,21 @@ return {
|
||||||
{ import = "plugins.mod.which-keys-nvim" },
|
{ import = "plugins.mod.which-keys-nvim" },
|
||||||
{ import = "plugins.mod.copilot-lua" },
|
{ import = "plugins.mod.copilot-lua" },
|
||||||
{ import = "plugins.mod.avante-nvim" },
|
{ import = "plugins.mod.avante-nvim" },
|
||||||
|
{
|
||||||
|
"kawre/leetcode.nvim",
|
||||||
|
build = ":TSUpdate html", -- if you have `nvim-treesitter` installed
|
||||||
|
dependencies = {
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
-- "ibhagwan/fzf-lua",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
-- configuration goes here
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"3rd/image.nvim",
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@ return {
|
||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
|
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
|
||||||
opts = {
|
opts = {
|
||||||
-- add any opts here
|
-- add any opts here
|
||||||
-- for example
|
-- for example
|
||||||
provider = "openai",
|
provider = "openai",
|
||||||
openai = {
|
openai = {
|
||||||
endpoint = "https://yunwu.ai/v1",
|
endpoint = "https://yunwu.ai/v1",
|
||||||
model = "claude-3-5-sonnet-latest", -- your desired model (or use gpt-4o, etc.)
|
model = "claude-3-7-sonnet-20250219", -- your desired model (or use gpt-4o, etc.)
|
||||||
timeout = 30000, -- timeout in milliseconds
|
timeout = 30000, -- timeout in milliseconds
|
||||||
temperature = 0, -- adjust if needed
|
temperature = 0, -- adjust if needed
|
||||||
max_tokens = 4096,
|
max_tokens = 4096,
|
||||||
-- reasoning_effort = "high" -- only supported for "o" models
|
-- reasoning_effort = "high" -- only supported for "o" models
|
||||||
},
|
},
|
||||||
|
|
@ -25,10 +25,10 @@ return {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
--- The below dependencies are optional,
|
--- The below dependencies are optional,
|
||||||
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
|
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
|
||||||
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
|
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
|
||||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||||
"zbirenbaum/copilot.lua", -- for providers='copilot'
|
"zbirenbaum/copilot.lua", -- for providers='copilot'
|
||||||
{
|
{
|
||||||
-- support for image pasting
|
-- support for image pasting
|
||||||
"HakonHarnes/img-clip.nvim",
|
"HakonHarnes/img-clip.nvim",
|
||||||
|
|
|
||||||
6
tools/nvim/lua/plugins/mod/fzf.lua
Normal file
6
tools/nvim/lua/plugins/mod/fzf.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
return {
|
||||||
|
"ibhagwan/fzf-lua",
|
||||||
|
-- optional for icon support
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
opts = {},
|
||||||
|
}
|
||||||
|
|
@ -7,7 +7,8 @@ return {
|
||||||
file_types = { "markdown", "Avante" },
|
file_types = { "markdown", "Avante" },
|
||||||
render_modes = { "n", "c", "t" },
|
render_modes = { "n", "c", "t" },
|
||||||
latex = {
|
latex = {
|
||||||
enabled = true,
|
-- enabled = true,
|
||||||
|
enabled = false,
|
||||||
converter = "latex2text",
|
converter = "latex2text",
|
||||||
highlight = "RenderMarkdownMath",
|
highlight = "RenderMarkdownMath",
|
||||||
top_pad = 0,
|
top_pad = 0,
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,16 @@
|
||||||
return {
|
return {
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {
|
opts = {
|
||||||
-- your configuration comes here
|
preset = "modern",
|
||||||
-- or leave it empty to use the default settings
|
},
|
||||||
-- refer to the configuration section below
|
keys = {
|
||||||
},
|
{
|
||||||
keys = {
|
"<leader>?",
|
||||||
{
|
function()
|
||||||
"<leader>?",
|
require("which-key").show({ global = false })
|
||||||
function()
|
end,
|
||||||
require("which-key").show({ global = false })
|
desc = "Buffer Local Keymaps (which-key)",
|
||||||
end,
|
|
||||||
desc = "Buffer Local Keymaps (which-key)",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue