Update config / Update nvui to 3.0
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
return {
|
||||
"chrisgrieser/nvim-lsp-endhints",
|
||||
event = "LspAttach",
|
||||
opts = {icons = {
|
||||
type = " ",
|
||||
},},}
|
||||
|
||||
event = "LspAttach",
|
||||
opts = {
|
||||
icons = {
|
||||
type = " ",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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" },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user