|
|
|
@ -273,13 +273,16 @@ require('lazy').setup({
|
|
|
|
|
-- See `:help gitsigns` to understand what the configuration keys do
|
|
|
|
|
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|
|
|
|
|
'lewis6991/gitsigns.nvim',
|
|
|
|
|
---@module 'gitsigns'
|
|
|
|
|
---@type Gitsigns.Config
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = {
|
|
|
|
|
signs = {
|
|
|
|
|
add = { text = '+' },
|
|
|
|
|
change = { text = '~' },
|
|
|
|
|
delete = { text = '_' },
|
|
|
|
|
topdelete = { text = '‾' },
|
|
|
|
|
changedelete = { text = '~' },
|
|
|
|
|
add = { text = '+' }, ---@diagnostic disable-line: missing-fields
|
|
|
|
|
change = { text = '~' }, ---@diagnostic disable-line: missing-fields
|
|
|
|
|
delete = { text = '_' }, ---@diagnostic disable-line: missing-fields
|
|
|
|
|
topdelete = { text = '‾' }, ---@diagnostic disable-line: missing-fields
|
|
|
|
|
changedelete = { text = '~' }, ---@diagnostic disable-line: missing-fields
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
@ -301,6 +304,9 @@ require('lazy').setup({
|
|
|
|
|
{ -- Useful plugin to show you pending keybinds.
|
|
|
|
|
'folke/which-key.nvim',
|
|
|
|
|
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
|
|
|
|
|
---@module 'which-key'
|
|
|
|
|
---@type wk.Opts
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = {
|
|
|
|
|
-- delay between pressing a key and opening which-key (milliseconds)
|
|
|
|
|
-- this setting is independent of vim.o.timeoutlen
|
|
|
|
@ -468,6 +474,9 @@ require('lazy').setup({
|
|
|
|
|
-- used for completion, annotations and signatures of Neovim apis
|
|
|
|
|
'folke/lazydev.nvim',
|
|
|
|
|
ft = 'lua',
|
|
|
|
|
---@module 'lazydev'
|
|
|
|
|
---@type lazydev.Config
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = {
|
|
|
|
|
library = {
|
|
|
|
|
-- Load luvit types when the `vim.uv` word is found
|
|
|
|
@ -482,7 +491,13 @@ require('lazy').setup({
|
|
|
|
|
-- Automatically install LSPs and related tools to stdpath for Neovim
|
|
|
|
|
-- Mason must be loaded before its dependents so we need to set it up here.
|
|
|
|
|
-- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
|
|
|
|
|
{ 'mason-org/mason.nvim', opts = {} },
|
|
|
|
|
{
|
|
|
|
|
'mason-org/mason.nvim',
|
|
|
|
|
---@module 'mason.settings'
|
|
|
|
|
---@type MasonSettings
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = {},
|
|
|
|
|
},
|
|
|
|
|
'mason-org/mason-lspconfig.nvim',
|
|
|
|
|
'WhoIsSethDaniel/mason-tool-installer.nvim',
|
|
|
|
|
|
|
|
|
@ -774,6 +789,8 @@ require('lazy').setup({
|
|
|
|
|
desc = '[F]ormat buffer',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
---@module 'conform'
|
|
|
|
|
---@type conform.setupOpts
|
|
|
|
|
opts = {
|
|
|
|
|
notify_on_error = false,
|
|
|
|
|
format_on_save = function(bufnr)
|
|
|
|
@ -834,8 +851,8 @@ require('lazy').setup({
|
|
|
|
|
},
|
|
|
|
|
'folke/lazydev.nvim',
|
|
|
|
|
},
|
|
|
|
|
--- @module 'blink.cmp'
|
|
|
|
|
--- @type blink.cmp.Config
|
|
|
|
|
---@module 'blink.cmp'
|
|
|
|
|
---@type blink.cmp.Config
|
|
|
|
|
opts = {
|
|
|
|
|
keymap = {
|
|
|
|
|
-- 'default' (recommended) for mappings similar to built-in completions
|
|
|
|
@ -923,7 +940,15 @@ require('lazy').setup({
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
-- Highlight todo, notes, etc in comments
|
|
|
|
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
|
|
|
|
{
|
|
|
|
|
'folke/todo-comments.nvim',
|
|
|
|
|
event = 'VimEnter',
|
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
|
|
|
---@module 'todo-comments'
|
|
|
|
|
---@type TodoOptions
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = { signs = false },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{ -- Collection of various small independent plugins/modules
|
|
|
|
|
'echasnovski/mini.nvim',
|
|
|
|
@ -967,6 +992,9 @@ require('lazy').setup({
|
|
|
|
|
build = ':TSUpdate',
|
|
|
|
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
|
|
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
|
|
|
|
---@module 'nvim-treesitter'
|
|
|
|
|
---@type TSConfig
|
|
|
|
|
---@diagnostic disable-next-line: missing-fields
|
|
|
|
|
opts = {
|
|
|
|
|
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
|
|
|
|
-- Autoinstall languages that are not installed
|
|
|
|
@ -1014,7 +1042,7 @@ require('lazy').setup({
|
|
|
|
|
-- Or use telescope!
|
|
|
|
|
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
|
|
|
|
|
-- you can continue same window with `<space>sr` which resumes last telescope search
|
|
|
|
|
}, {
|
|
|
|
|
}, { ---@diagnostic disable-line: missing-fields
|
|
|
|
|
ui = {
|
|
|
|
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
|
|
|
|
-- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
|
|
|
|
|