83 lines
1.6 KiB
Lua
83 lines
1.6 KiB
Lua
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,
|
|
},
|
|
{
|
|
"williamboman/mason.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"stylua",
|
|
"shellcheck",
|
|
"ruff",
|
|
"ruff-lsp",
|
|
"lua-language-server",
|
|
"nimlsp",
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"nvimtools/none-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,
|
|
nls.builtins.diagnostics.shellcheck,
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = {
|
|
"bash",
|
|
"dockerfile",
|
|
"html",
|
|
"go",
|
|
"javascript",
|
|
"json",
|
|
"latex",
|
|
"lua",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"nix",
|
|
"python",
|
|
"regex",
|
|
"toml",
|
|
"tsx",
|
|
"typescript",
|
|
"vim",
|
|
"vimdoc",
|
|
"yaml",
|
|
"yuck",
|
|
"zig",
|
|
},
|
|
},
|
|
},
|
|
}
|