Merge branch 'nvim-lua:master' into master
This commit is contained in:
commit
9800531526
|
|
@ -5,9 +5,10 @@ nvim
|
||||||
|
|
||||||
spell/
|
spell/
|
||||||
|
|
||||||
# You likely want to comment this, since it's recommended to track lazy-lock.json in version
|
# In your personal fork, you likely want to comment this, since it's recommended to track
|
||||||
# control, see https://lazy.folke.io/usage/lockfile
|
# lazy-lock.json in version control - see https://lazy.folke.io/usage/lockfile
|
||||||
# For kickstart, it makes sense to leave it ignored.
|
# For the official `nvim-lua/kickstart.nvim` git repository, we leave it ignored to avoid unneeded
|
||||||
|
# merge conflicts.
|
||||||
lazy-lock.json
|
lazy-lock.json
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
|
||||||
|
|
@ -262,7 +262,7 @@ available methods being discussed
|
||||||
<details><summary>Bob</summary>
|
<details><summary>Bob</summary>
|
||||||
|
|
||||||
[Bob](https://github.com/MordechaiHadad/bob) is a Neovim version manager for
|
[Bob](https://github.com/MordechaiHadad/bob) is a Neovim version manager for
|
||||||
all plattforms. Simply install
|
all platforms. Simply install
|
||||||
[rustup](https://rust-lang.github.io/rustup/installation/other.html),
|
[rustup](https://rust-lang.github.io/rustup/installation/other.html),
|
||||||
and run the following commands:
|
and run the following commands:
|
||||||
|
|
||||||
|
|
|
||||||
7
init.lua
7
init.lua
|
|
@ -356,7 +356,7 @@ require('lazy').setup({
|
||||||
spec = {
|
spec = {
|
||||||
{ '<leader>s', group = '[S]earch', mode = { 'n', 'v' } },
|
{ '<leader>s', group = '[S]earch', mode = { 'n', 'v' } },
|
||||||
{ '<leader>t', group = '[T]oggle' },
|
{ '<leader>t', group = '[T]oggle' },
|
||||||
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } },
|
{ '<leader>h', group = 'Git [H]unk', mode = { 'n', 'v' } }, -- Enable gitsigns recommended keymaps first
|
||||||
{ 'gr', group = 'LSP Actions', mode = { 'n' } },
|
{ 'gr', group = 'LSP Actions', mode = { 'n' } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -538,9 +538,6 @@ require('lazy').setup({
|
||||||
|
|
||||||
-- Useful status updates for LSP.
|
-- Useful status updates for LSP.
|
||||||
{ 'j-hui/fidget.nvim', opts = {} },
|
{ 'j-hui/fidget.nvim', opts = {} },
|
||||||
|
|
||||||
-- Allows extra capabilities provided by blink.cmp
|
|
||||||
'saghen/blink.cmp',
|
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- Brief aside: **What is LSP?**
|
-- Brief aside: **What is LSP?**
|
||||||
|
|
@ -974,7 +971,7 @@ require('lazy').setup({
|
||||||
-- require 'kickstart.plugins.lint',
|
-- require 'kickstart.plugins.lint',
|
||||||
-- require 'kickstart.plugins.autopairs',
|
-- require 'kickstart.plugins.autopairs',
|
||||||
-- require 'kickstart.plugins.neo-tree',
|
-- require 'kickstart.plugins.neo-tree',
|
||||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommended keymaps
|
||||||
|
|
||||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||||
-- This is the easiest way to modularize your config.
|
-- This is the easiest way to modularize your config.
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
---@module 'lazy'
|
---@module 'lazy'
|
||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
{
|
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
---@module 'gitsigns'
|
---@module 'gitsigns'
|
||||||
---@type Gitsigns.Config
|
---@type Gitsigns.Config
|
||||||
|
|
@ -56,5 +55,4 @@ return {
|
||||||
map('n', '<leader>tD', gitsigns.preview_hunk_inline, { desc = '[T]oggle git show [D]eleted' })
|
map('n', '<leader>tD', gitsigns.preview_hunk_inline, { desc = '[T]oggle git show [D]eleted' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
|
-- Add indentation guides even on blank lines
|
||||||
|
|
||||||
---@module 'lazy'
|
---@module 'lazy'
|
||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
{ -- Add indentation guides even on blank lines
|
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
-- Enable `lukas-reineke/indent-blankline.nvim`
|
||||||
-- See `:help ibl`
|
-- See `:help ibl`
|
||||||
|
|
@ -9,5 +10,4 @@ return {
|
||||||
---@module 'ibl'
|
---@module 'ibl'
|
||||||
---@type ibl.config
|
---@type ibl.config
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
-- Linting
|
||||||
|
|
||||||
---@module 'lazy'
|
---@module 'lazy'
|
||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
|
|
||||||
{ -- Linting
|
|
||||||
'mfussenegger/nvim-lint',
|
'mfussenegger/nvim-lint',
|
||||||
event = { 'BufReadPre', 'BufNewFile' },
|
event = { 'BufReadPre', 'BufNewFile' },
|
||||||
config = function()
|
config = function()
|
||||||
|
|
@ -56,5 +56,4 @@ return {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue