nvde/lua/plugins.lua

83 lines
1.5 KiB
Lua

local plugins = {
-- {{{ lsp
-- {{{ basic lsp stuff
{
"neovim/nvim-lspconfig",
event = "VeryLazy",
},
{
"williamboman/mason-lspconfig.nvim",
event = "VeryLazy",
dependencies = {
"williamboman/mason.nvim"
}
},
{
'ms-jpq/coq_nvim',
branch = 'coq',
event = "InsertEnter",
init = function() vim.g.coq_settings = {
auto_start = 'shut-up',
["keymap.jump_to_mark"] = "<C-s>",
} end,
dependencies = {
{ "ms-jpq/coq.artifacts",
branch = "artifacts",
event = "InsertEnter", },
{ "neovim/nvim-lspconfig" },
},
},
-- }}}
-- }}}
-- {{{ editor
-- {{{ prints possible shortcuts upon button press
{
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 0
require("which-key").setup(opts)
end
}, -- }}}
-- {{{ auto closes ()
-- {
-- "windwp/nvim-autopairs",
-- event = "InsertEnter",
-- opts = {
-- fast_wrap = {},
-- disable_filetype = { "TelescopePrompt", "vim" },
-- },
-- config = function(_, opts)
-- require("nvim-autopairs").setup(opts)
-- end,
-- }, -- }}}
-- }}}
-- {{{ ui
--better borders for split screen
{
"nvim-zh/colorful-winsep.nvim",
event = "WinNew",
config = function ()
require('colorful-winsep').setup()
end
},
--start screen
{
'nvimdev/dashboard-nvim',
event = 'VimEnter',
dependencies = { {'nvim-tree/nvim-web-devicons'}}
},
-- }}}
-- {{{ misc
-- }}}
}
plugins.lazy = true
require("lazy").setup(plugins)