dotfiles/home/private_dot_config/nvim/lua/plugins/example.lua

86 lines
1.5 KiB
Lua
Raw Normal View History

2023-02-10 09:24:29 -06:00
return {
-- { "catppuccin/nvim", name = "catppuccin" },
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin",
},
},
-- change trouble config
{
"folke/trouble.nvim",
-- opts will be merged with the parent spec
opts = { use_diagnostic_signs = true },
},
{
"folke/noice.nvim",
opts = {
presets = {
bottom_search = true,
command_palette = false,
long_message_to_split = true,
},
},
},
-- add telescope-fzf-native
{
"telescope.nvim",
dependencies = {
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
config = function()
require("telescope").load_extension("fzf")
end,
},
},
-- add pyright to lspconfig
{
"neovim/nvim-lspconfig",
---@class PluginLspOpts
opts = {
---@type lspconfig.options
servers = {
-- pyright will be automatically installed with mason and loaded with lspconfig
pyright = {},
},
},
},
-- add more treesitter parsers
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"bash",
"help",
"html",
"javascript",
"json",
"lua",
"markdown",
"markdown_inline",
"python",
"regex",
"yaml",
},
},
},
-- add any tools you want to have installed below
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"stylua",
"shellcheck",
"shfmt",
"flake8",
},
},
},
}