nvim/lua/plugins.lua
sadanslargehole 6fa876bf18
add eslint
2024-03-22 18:27:51 -04:00

103 lines
1.8 KiB
Lua

local plugins = {
{
"jose-elias-alvarez/null-ls.nvim",
},
{
"MunifTanjim/eslint.nvim",
},
{
"williamboman/mason.nvim",
},
{
"ray-x/lsp_signature.nvim",
},
{
"williamboman/mason-lspconfig.nvim",
},
{
"neovim/nvim-lspconfig",
},
{ "folke/neodev.nvim", opts = {} },
{
"p00f/clangd_extensions.nvim",
},
{
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {},
},
{
"abecodes/tabout.nvim",
lazy = false,
requires = {
"nvim-treesitter/nvim-treesitter",
"L3MON4D3/LuaSnip",
"hrsh7th/nvim-cmp",
},
event = "InsertCharPre", -- Set the event to 'InsertCharPre' for better compatibility
priority = 1000,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
},
{
"numToStr/Comment.nvim",
opts = {
-- add any options here
},
lazy = false,
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
-- use opts = {} for passing setup options
-- this is equalent to setup({}) function
opts = {},
},
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
},
{
"mhartington/formatter.nvim",
},
{
"nvim-telescope/telescope.nvim",
tag = "0.1.5",
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"hrsh7th/cmp-nvim-lsp",
},
{
"hrsh7th/nvim-cmp",
},
{
"L3MON4D3/LuaSnip",
-- follow latest release.
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
-- install jsregexp (optional!).
build = "make install_jsregexp",
},
{
"saadparwaiz1/cmp_luasnip",
},
{
"nvim-tree/nvim-tree.lua",
},
{
"kevinhwang91/nvim-ufo",
dependencies = { "kevinhwang91/promise-async" },
},
--{
-- 'mfussenegger/nvim-lint'
--},
}
local opts = {}
require("lazy").setup(plugins, opts)