mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Merge branch 'main' into dev
This commit is contained in:
commit
0d3d041ba3
9 changed files with 23 additions and 11 deletions
2
NEWS.md
2
NEWS.md
|
|
@ -13,7 +13,7 @@ Going forward, **LazyVim** requires **Neovim** `>= 0.11.2`, and drops support fo
|
|||
- migrated **mason.nvim** and **mason-lspconfig.nvim** to `v2.x`
|
||||
- migrated to [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter/tree/main) **main** branch
|
||||
- with the new version, the `tree-sitter` cli is **required** to install parsers
|
||||
- best to run `:checkhealth nvim_treesitter` after updating
|
||||
- best to run `:checkhealth nvim-treesitter` after updating
|
||||
- replace `nvim-treesitter` incremental selection with `flash.nvim`, since it is no longer supported
|
||||
- enabled [blink.cmp](https://github.com/saghen/blink.cmp) **cmdline** completions
|
||||
- use **LSP** based folding when available (disable with `nvim-lspconfig.folds.enabled = false`)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
return {
|
||||
-- auto pairs
|
||||
-- Auto pairs
|
||||
-- Automatically inserts a matching closing character
|
||||
-- when you type an opening character like `"`, `[`, or `(`.
|
||||
{
|
||||
"nvim-mini/mini.pairs",
|
||||
event = "VeryLazy",
|
||||
|
|
@ -20,14 +22,18 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- comments
|
||||
-- Improves comment syntax, lets Neovim handle multiple
|
||||
-- types of comments for a single language, and relaxes rules
|
||||
-- for uncommenting.
|
||||
{
|
||||
"folke/ts-comments.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
},
|
||||
|
||||
-- Better text-objects
|
||||
-- Extends the a & i text objects, this adds the ability to select
|
||||
-- arguments, function calls, text within quotes and brackets, and to
|
||||
-- repeat those selections to select an outer text object.
|
||||
{
|
||||
"nvim-mini/mini.ai",
|
||||
event = "VeryLazy",
|
||||
|
|
@ -64,6 +70,8 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- Configures LuaLS to support auto-completion and type checking
|
||||
-- while editing your Neovim configuration.
|
||||
{
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ return {
|
|||
"compile_commands.json",
|
||||
"compile_flags.txt",
|
||||
"configure.ac", -- AutoTools
|
||||
"meson.build",
|
||||
"build.ninja",
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
|
@ -61,9 +63,6 @@ return {
|
|||
{ "<leader>ch", "<cmd>ClangdSwitchSourceHeader<cr>", desc = "Switch Source/Header (C/C++)" },
|
||||
},
|
||||
root_markers = {
|
||||
".clangd",
|
||||
".clang-tidy",
|
||||
".clang-format",
|
||||
"compile_commands.json",
|
||||
"compile_flags.txt",
|
||||
"configure.ac", -- AutoTools
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
return {
|
||||
-- edgy
|
||||
-- Create and display predefined window layouts.
|
||||
{
|
||||
"folke/edgy.nvim",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
-- setup animate
|
||||
-- Animates many common Neovim actions, like scrolling,
|
||||
-- moving the cursor, and resizing windows.
|
||||
{
|
||||
"nvim-mini/mini.animate",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
-- Animates cursor movement with a smear effect.
|
||||
return {
|
||||
"sphamba/smear-cursor.nvim",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
return {
|
||||
-- Asynchronously calls language-specific linter tools and reports
|
||||
-- their results via the `vim.diagnostic` module.
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
event = "LazyFile",
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ return {
|
|||
if vim.fn.executable("tree-sitter") == 0 then
|
||||
LazyVim.error({
|
||||
"**treesitter-main** requires the `tree-sitter` CLI executable to be installed.",
|
||||
"Run `:checkhealth nvim_treesitter` for more information.",
|
||||
"Run `:checkhealth nvim-treesitter` for more information.",
|
||||
})
|
||||
return
|
||||
end
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- statusline
|
||||
-- Displays a fancy status line with git status,
|
||||
-- LSP diagnostics, filetype information, and more.
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue