mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
68 lines
1.6 KiB
Lua
68 lines
1.6 KiB
Lua
return {
|
|
-- the colorscheme should be available when starting Neovim
|
|
{
|
|
"folke/tokyonight.nvim",
|
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
|
priority = 1000, -- make sure to load this before all the other start plugins
|
|
config = function()
|
|
-- load the colorscheme here
|
|
vim.cmd([[colorscheme tokyonight]])
|
|
end,
|
|
},
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
event = { "BufReadPre", "BufNewFile" },
|
|
dependencies = {
|
|
{ "folke/neoconf.nvim", cmd = "Neoconf", config = false, dependencies = { "nvim-lspconfig" } },
|
|
{ "folke/neodev.nvim", opts = {} },
|
|
"williamboman/mason.nvim",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
{ "j-hui/fidget.nvim", tag = "legacy", opts = {} },
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
},
|
|
config = function() end,
|
|
opts = {
|
|
servers = {
|
|
lua_ls = {}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"hrsh7th/nvim-cmp",
|
|
event = "InsertEnter",
|
|
dependencies = {
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
"hrsh7th/cmp-buffer",
|
|
"hrsh7th/cmp-path",
|
|
"L3MON4D3/LuaSnip",
|
|
"saadparwaiz1/cmp_luasnip",
|
|
},
|
|
opts = function()
|
|
local cmp = require("cmp")
|
|
return {
|
|
sources = cmp.config.sources({
|
|
{ name = "nvim_lsp" },
|
|
{ name = "luasnip" },
|
|
{ name = "buffer" },
|
|
{ name = "path" },
|
|
}),
|
|
}
|
|
end
|
|
},
|
|
{
|
|
"windwp/nvim-autopairs",
|
|
dependencies = { "hrsh7th/nvim-cmp" },
|
|
config = function()
|
|
require("nvim-autopairs").setup {}
|
|
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
|
local cmp = require("cmp")
|
|
cmp.event:on(
|
|
'confirm_done',
|
|
cmp_autopairs.on_confirm_done()
|
|
)
|
|
end,
|
|
},
|
|
|
|
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
|
{ "stevearc/dressing.nvim", event = "VeryLazy" },
|
|
}
|