Update and clean config

This commit is contained in:
Alessandro
2024-10-11 12:04:59 +02:00
parent 72d4f759b7
commit b4b679a7e5
6 changed files with 30 additions and 43 deletions

View File

@@ -5,13 +5,12 @@ return {
},
{
"neovim/nvim-lspconfig",
opts =
require "configs.lspconfig"
opts = require "configs.lspconfig"
},
{
"Pocco81/auto-save.nvim",
opts = {},
event = { "BufEnter" },
event = { "InsertEnter" },
},
{
"nvim-treesitter/nvim-treesitter",
@@ -27,16 +26,4 @@ return {
{
"hrsh7th/nvim-cmp",
},
{
"3rd/image.nvim",
config = function()
require("image").setup {
backend = "ueberzug",
}
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" },
event = { "BufRead *.png", "BufRead *.jpg", "BufRead *.jpeg", "BufRead *.gif", "BufRead *.wepb", "BufRead *.avif" },
},
}