[Nvim] Let Lazy handle plugins?

This commit is contained in:
2025-02-07 18:30:55 -08:00
parent cee054498a
commit bbaa20a515
7 changed files with 89 additions and 12 deletions

View File

@@ -0,0 +1,14 @@
return {
'rmagatti/auto-session',
lazy = false,
---enables autocomplete for opts
---@module "auto-session"
---@type AutoSession.Config
opts = {
suppressed_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
-- log_level = 'debug',
show_auto_restore_notif = true,
cwd_change_handling = true,
}
}

View File

@@ -0,0 +1,6 @@
return {
"decaycs/decay.nvim",
name = "decay",
lazy = false,
priority = 1000,
}

View File

@@ -0,0 +1,4 @@
return {
"kevinhwang91/rnvimr",
lazy = false,
}

View File

@@ -0,0 +1,10 @@
return {
"kylechui/nvim-surround",
version = "*", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
-- Configuration here, or leave empty to use defaults
})
end
}

View File

@@ -0,0 +1,5 @@
return {
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' }
}

View File

@@ -0,0 +1,37 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
-- Make sure these are installed
ensure_installed = {
-- Programming languages
"javascript",
"typescript",
"haskell",
"rust",
"lua",
"bash",
-- Config files
"vim",
"hyprlang",
"toml",
"yaml",
"dockerfile",
-- Other
"markdown",
},
-- Use async install
sync_install = false,
-- Install missing parsers when entering a buffer.
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end
}