Update config / Update nvui to 3.0

This commit is contained in:
Alessandro
2024-10-09 11:39:42 +02:00
parent 30874243c9
commit 72d4f759b7
11 changed files with 86 additions and 106 deletions

View File

@@ -2,8 +2,7 @@ return {
"saecki/crates.nvim",
tag = "stable",
event = { "BufRead Cargo.toml" },
config = function()
require("crates").setup{
opts = {
lsp = {
enabled = true,
actions = true,
@@ -18,5 +17,4 @@ return {
},
}
}
end,
}

View File

@@ -1,7 +1,9 @@
return {
"chrisgrieser/nvim-lsp-endhints",
event = "LspAttach",
opts = {icons = {
type = "󱈤 ",
},},}
event = "LspAttach",
opts = {
icons = {
type = "󱈤 ",
},
},
}

View File

@@ -5,16 +5,13 @@ return {
},
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
opts =
require "configs.lspconfig"
},
{
"Pocco81/auto-save.nvim",
config = function()
require("auto-save").setup()
end,
lazy = false,
opts = {},
event = { "BufEnter" },
},
{
"nvim-treesitter/nvim-treesitter",
@@ -29,7 +26,6 @@ return {
},
{
"hrsh7th/nvim-cmp",
opts = require "configs.cmp",
},
{
"3rd/image.nvim",
@@ -40,6 +36,7 @@ return {
package.path = package.path .. ";" .. vim.fn.expand "$HOME" .. "/.luarocks/share/lua/5.1/?/init.lua"
package.path = package.path .. ";" .. vim.fn.expand "$HOME" .. "/.luarocks/share/lua/5.1/?.lua"
end,
ft = { "markdown", "" },
ft = { "markdown" },
event = { "BufRead *.png", "BufRead *.jpg", "BufRead *.jpeg", "BufRead *.gif", "BufRead *.wepb", "BufRead *.avif" },
},
}

View File

@@ -1,7 +1,5 @@
return {
"WhoIsSethDaniel/mason-tool-installer.nvim",
lazy = false,
config = function()
require("mason-tool-installer").setup(require "configs.default-lsp")
end,
opts = require "configs.default-lsp"
}

View File

@@ -1,12 +1,9 @@
return {
"ahmedkhalf/project.nvim",
lazy = false,
config = function()
require("telescope").load_extension "projects"
require("project_nvim").setup {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
}
end,
}
return {
"ahmedkhalf/project.nvim",
lazy = false,
config = function()
require("telescope").load_extension "projects"
require("project_nvim").setup {
}
end,
}

View File

@@ -1,12 +1,10 @@
return {
"kevinhwang91/nvim-ufo",
config = function()
require("ufo").setup {
opts = {
provider_selector = function(_, _, _)
return { "treesitter", "indent" }
end,
}
end,
},
lazy = false,
dependencies = { "kevinhwang91/promise-async" },
}