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

69 lines
1.9 KiB
Lua
Raw Normal View History

2023-02-13 13:17:05 -06:00
return {
{
"LazyVim/LazyVim",
version = false,
opts = {
colorscheme = "catppuccin",
},
},
{
"folke/noice.nvim",
},
2023-09-11 10:24:09 -05:00
{
"nvim-treesitter/nvim-treesitter",
2023-11-30 14:25:23 -06:00
opts = function(_, opts)
opts.ensure_installed = vim.list_extend(opts.ensure_installed or {}, {
"vim",
"vimdoc",
2023-09-11 10:24:09 -05:00
"html",
2023-11-30 14:25:23 -06:00
"toml",
2023-09-11 10:24:09 -05:00
"json",
2023-11-30 14:25:23 -06:00
"yaml",
2023-09-11 10:24:09 -05:00
"regex",
2023-11-30 14:25:23 -06:00
})
end,
2023-09-11 10:24:09 -05:00
},
2025-01-06 14:36:36 -06:00
{
"saghen/blink.cmp",
opts = {
-- 'default' for mappings similar to built-in completion
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
-- see the "default configuration" section below for full documentation on how to define
-- your own keymap.
keymap = { preset = "default" },
},
},
2025-01-06 14:51:50 -06:00
{
"mfussenegger/nvim-lint",
opts = {
-- cspell probably isn't installed globally? though could be with pnpm...
-- linters_by_ft = {
-- markdown = { "cspell" },
-- },
-- LazyVim extension to easily override linter options
-- or add custom linters.
---@type table<string,table>
linters = {
-- -- Example of using selene only when a selene.toml file is present
-- selene = {
-- -- `condition` is another LazyVim extension that allows you to
-- -- dynamically enable/disable linters based on the context.
-- condition = function(ctx)
-- return vim.fs.find({ "selene.toml" }, { path = ctx.filename, upward = true })[1]
-- end,
-- },
cspell = {
-- only works for one file type?
-- see lua/config/autocmds for a possible solution that includes more files
condition = function(ctx)
return vim.fs.find({".cspell.config.yaml"}, {path = ctx.filename, upward = true})[1]
end
}
},
},
},
2023-02-13 13:17:05 -06:00
}