2023-02-13 13:17:05 -06:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"LazyVim/LazyVim",
|
|
|
|
version = false,
|
|
|
|
opts = {
|
|
|
|
colorscheme = "catppuccin",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"folke/noice.nvim",
|
|
|
|
opts = {
|
|
|
|
presets = {
|
|
|
|
command_palette = false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
-- add emoji completion
|
|
|
|
{
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
dependencies = { "hrsh7th/cmp-emoji" },
|
|
|
|
---@param opts cmp.ConfigSchema
|
|
|
|
opts = function(_, opts)
|
|
|
|
local cmp = require("cmp")
|
|
|
|
opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "emoji" } }))
|
|
|
|
end,
|
|
|
|
},
|
2023-02-15 11:45:54 -06:00
|
|
|
{
|
|
|
|
"williamboman/mason.nvim",
|
|
|
|
opts = {
|
|
|
|
ensure_installed = {
|
|
|
|
"stylua",
|
|
|
|
"shellcheck",
|
|
|
|
"shfmt",
|
|
|
|
"ruff",
|
2023-03-20 09:13:07 -05:00
|
|
|
"ruff-lsp",
|
2023-04-24 09:59:25 -05:00
|
|
|
-- "nimlsp",
|
2023-02-15 11:45:54 -06:00
|
|
|
"lua-language-server",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-03-20 09:13:07 -05:00
|
|
|
{
|
|
|
|
"jose-elias-alvarez/null-ls.nvim",
|
|
|
|
opts = function()
|
|
|
|
local nls = require("null-ls")
|
|
|
|
return {
|
|
|
|
root_dir = require("null-ls.utils").root_pattern(".null-ls-root", ".neoconf.json", "Makefile", ".git"),
|
|
|
|
sources = {
|
|
|
|
nls.builtins.formatting.stylua,
|
|
|
|
nls.builtins.formatting.shfmt,
|
|
|
|
nls.builtins.diagnostics.ruff,
|
2023-05-15 14:17:01 -05:00
|
|
|
nls.builtins.diagnostics.shellcheck,
|
2023-03-20 09:13:07 -05:00
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
},
|
2023-04-04 13:35:27 -05:00
|
|
|
{
|
|
|
|
-- can remove once https://github.com/LazyVim/LazyVim/pull/521 is merged
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
opts = function(_, opts)
|
|
|
|
opts.ignore_install = { "help" }
|
2023-05-18 10:44:30 -05:00
|
|
|
opts.ensure_installed = { "jsonnet" }
|
2023-04-04 13:35:27 -05:00
|
|
|
end,
|
|
|
|
},
|
2023-02-13 13:17:05 -06:00
|
|
|
}
|