[Nvim] Let Lazy handle plugins?
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"decaycs/decay.nvim",
|
||||
name = "decay",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
"kevinhwang91/rnvimr",
|
||||
lazy = false,
|
||||
}
|
||||
10
home-manager/features/config/neovim/lua/plugins/surround.lua
Normal file
10
home-manager/features/config/neovim/lua/plugins/surround.lua
Normal 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
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
tag = '0.1.8',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user