Compare commits

..

22 Commits

Author SHA1 Message Date
080ea29354 chore(main): release 3.2.0 (#759)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-18 08:30:28 +02:00
3d7238f753 chore(build): auto-generate vimdoc 2023-05-18 06:22:51 +00:00
a43d1b79f2 feat(noice): enable the inc_rename preset when inc_rename is availble 2023-05-18 08:22:08 +02:00
bd1ba54d13 fix(mini): lazy now supports mini plugins out of the box. no longer needed to have a custom config 2023-05-13 16:16:10 +02:00
9f2010a8b9 chore(main): release 3.1.0 (#757)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 15:49:06 +02:00
e09423b28c chore(build): auto-generate vimdoc 2023-05-13 13:46:15 +00:00
2525b91313 feat(noice): send written notifications to the mini view instead of notify 2023-05-13 15:45:28 +02:00
a213da4430 feat(noice): use noice's improved entry doc view for cmp 2023-05-13 15:45:02 +02:00
b57582bc91 chore(main): release 3.0.0 (#755)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-12 20:40:23 +02:00
d41ef05cc0 feat(mini.comment)!: removed ts-context-commentstring since mini.comment provides this functionality out of the box
If you use this plugin, you can add it again with the following code:
{
  "nvim-treesitter/nvim-treesitter",
  opts = {
    context_commentstring = {
      enable = true,
      enable_autocmd = false,
    },
  },
  dependencies = {
    "JoosepAlviste/nvim-ts-context-commentstring",
  },
}
2023-05-12 20:34:36 +02:00
dfde622847 chore(main): release 2.13.1 (#731)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-12 17:05:10 +02:00
44df7434d4 perf(comment): removed nvim-ts-context-commentstring, since mini.comment now handles that internally 2023-05-12 17:03:16 +02:00
049e323714 fix(copilot): removed special handling of copilot in cmp. no longer needed 2023-05-12 17:01:10 +02:00
7d96b07c6f chore(build): auto-generate vimdoc 2023-05-12 14:47:08 +00:00
ad229bbf42 fix(copilot): latest copilot-cmp requires passing opts to _on_insert_enter (#752) 2023-05-12 16:46:21 +02:00
cbf1d335ed chore(build): auto-generate vimdoc 2023-05-08 16:57:02 +00:00
6ebf3ab084 fix(icons): updated a dap icon 2023-05-08 18:56:18 +02:00
25d37a2cdd chore(main): release 2.13.0 (#702)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-04 18:32:55 +02:00
7409fef291 chore(build): auto-generate vimdoc 2023-05-04 16:28:28 +00:00
3f5c2c283e feat(extras): added extra for tailwindcss 2023-05-04 18:27:36 +02:00
f51719a12d chore(build): auto-generate vimdoc 2023-05-02 19:30:33 +00:00
DYY
ea4858874b fix(mason): exclude filetype mason in indent-blankline.nvim (#701) 2023-05-02 21:29:52 +02:00
9 changed files with 106 additions and 47 deletions

View File

@ -1,5 +1,62 @@
# Changelog
## [3.2.0](https://github.com/LazyVim/LazyVim/compare/v3.1.0...v3.2.0) (2023-05-18)
### Features
* **noice:** enable the inc_rename preset when inc_rename is availble ([a43d1b7](https://github.com/LazyVim/LazyVim/commit/a43d1b79f29deecc694bd409ab497f8a62091b11))
### Bug Fixes
* **mini:** lazy now supports mini plugins out of the box. no longer needed to have a custom config ([bd1ba54](https://github.com/LazyVim/LazyVim/commit/bd1ba54d1347c1f340db896f25e43c8591365512))
## [3.1.0](https://github.com/LazyVim/LazyVim/compare/v3.0.0...v3.1.0) (2023-05-13)
### Features
* **noice:** send written notifications to the mini view instead of notify ([2525b91](https://github.com/LazyVim/LazyVim/commit/2525b913139c6ca288677126d1451b9683bbac1f))
* **noice:** use noice's improved entry doc view for cmp ([a213da4](https://github.com/LazyVim/LazyVim/commit/a213da4430c1012bf7278080cbdc03a236e8230f))
## [3.0.0](https://github.com/LazyVim/LazyVim/compare/v2.13.1...v3.0.0) (2023-05-12)
### ⚠ BREAKING CHANGES
* **mini.comment:** removed ts-context-commentstring since mini.comment provides this functionality out of the box
### Features
* **mini.comment:** removed ts-context-commentstring since mini.comment provides this functionality out of the box ([d41ef05](https://github.com/LazyVim/LazyVim/commit/d41ef05cc00bf3502fb55512c265a02116127ca8))
## [2.13.1](https://github.com/LazyVim/LazyVim/compare/v2.13.0...v2.13.1) (2023-05-12)
### Bug Fixes
* **copilot:** latest copilot-cmp requires passing opts to _on_insert_enter ([#752](https://github.com/LazyVim/LazyVim/issues/752)) ([ad229bb](https://github.com/LazyVim/LazyVim/commit/ad229bbf42125c23b933575e7540f7302f128d35))
* **copilot:** removed special handling of copilot in cmp. no longer needed ([049e323](https://github.com/LazyVim/LazyVim/commit/049e323714a56200e220384a2fe618b5bff631d2))
* **icons:** updated a dap icon ([6ebf3ab](https://github.com/LazyVim/LazyVim/commit/6ebf3ab084361b47796840fb6f7fe00cd05dfeb4))
### Performance Improvements
* **comment:** removed nvim-ts-context-commentstring, since mini.comment now handles that internally ([44df743](https://github.com/LazyVim/LazyVim/commit/44df7434d4320d27672cca937e594efbf1e021ba))
## [2.13.0](https://github.com/LazyVim/LazyVim/compare/v2.12.1...v2.13.0) (2023-05-04)
### Features
* **extras:** added extra for tailwindcss ([3f5c2c2](https://github.com/LazyVim/LazyVim/commit/3f5c2c283e30f7b4c4c290d7a731e7dfbc86d8b8))
### Bug Fixes
* **mason:** exclude filetype mason in indent-blankline.nvim ([#701](https://github.com/LazyVim/LazyVim/issues/701)) ([ea48588](https://github.com/LazyVim/LazyVim/commit/ea4858874b983e4b3a8a7078828d98533e386035))
## [2.12.1](https://github.com/LazyVim/LazyVim/compare/v2.12.0...v2.12.1) (2023-04-28)

View File

@ -1,4 +1,4 @@
*LazyVim.txt* For Neovim >= 0.8.0 Last change: 2023 April 28
*LazyVim.txt* For Neovim >= 0.8.0 Last change: 2023 May 18
==============================================================================
Table of Contents *LazyVim-table-of-contents*
@ -43,7 +43,6 @@ pre-configured setup.
FEATURES *LazyVim-features*
- Transform your Neovim into a full-fledged IDE
- Easily customize and extend your config with lazy.nvim <https://github.com/folke/lazy.nvim>
- Blazingly fast
@ -53,7 +52,6 @@ FEATURES *LazyVim-features*
REQUIREMENTS *LazyVim-requirements*
- Neovim >= **0.8.0** (needs to be built with **LuaJIT**)
- Git >= **2.19.0** (for partial clones support)
- a Nerd Font <https://www.nerdfonts.com/> **(optional)**
@ -77,7 +75,6 @@ Try it with Docker ~
Install the LazyVim Starter ~
- Make a backup of your current Neovim files:
>sh
mv ~/.config/nvim ~/.config/nvim.bak

View File

@ -20,7 +20,7 @@ local defaults = {
-- icons used by other plugins
icons = {
dap = {
Stopped = { " ", "DiagnosticWarn", "DapStoppedLine" },
Stopped = { "󰁕 ", "DiagnosticWarn", "DapStoppedLine" },
Breakpoint = "",
BreakpointCondition = "",
BreakpointRejected = { "", "DiagnosticError" },

View File

@ -93,9 +93,7 @@ return {
{
"echasnovski/mini.pairs",
event = "VeryLazy",
config = function(_, opts)
require("mini.pairs").setup(opts)
end,
opts = {},
},
-- surround
@ -130,27 +128,13 @@ return {
update_n_lines = "gzn", -- Update `n_lines`
},
},
config = function(_, opts)
-- use gz mappings instead of s to prevent conflict with leap
require("mini.surround").setup(opts)
end,
},
-- comments
{ "JoosepAlviste/nvim-ts-context-commentstring", lazy = true },
{
"echasnovski/mini.comment",
event = "VeryLazy",
opts = {
hooks = {
pre = function()
require("ts_context_commentstring.internal").update_commentstring({})
end,
},
},
config = function(_, opts)
require("mini.comment").setup(opts)
end,
opts = {},
},
-- better text-objects

View File

@ -54,7 +54,7 @@ return {
-- fixes lazy-loading issues with the copilot cmp source
require("lazyvim.util").on_attach(function(client)
if client.name == "copilot" then
copilot_cmp._on_insert_enter()
copilot_cmp._on_insert_enter({})
end
end)
end,
@ -66,21 +66,6 @@ return {
table.insert(opts.sources, 1, { name = "copilot", group_index = 2 })
local confirm = opts.mapping["<CR>"]
local confirm_copilot = cmp.mapping.confirm({
select = true,
behavior = cmp.ConfirmBehavior.Replace,
})
opts.mapping = vim.tbl_extend("force", opts.mapping, {
["<CR>"] = function(...)
local entry = cmp.get_selected_entry()
if entry and entry.source.name == "copilot" then
return confirm_copilot(...)
end
return confirm(...)
end,
})
opts.sorting = {
priority_weight = 2,
comparators = {

View File

@ -0,0 +1,32 @@
return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
tailwindcss = {},
},
},
},
{
"NvChad/nvim-colorizer.lua",
opts = {
user_default_options = {
tailwind = true,
},
},
},
{
"hrsh7th/nvim-cmp",
dependencies = {
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
},
opts = function(_, opts)
-- original LazyVim kind icon formatter
local format_kinds = opts.formatting.format
opts.formatting.format = function(entry, item)
format_kinds(entry, item) -- add icons
return require("tailwindcss-colorizer-cmp").formatter(entry, item)
end
end,
},
}

View File

@ -33,8 +33,5 @@ return {
},
}
end,
config = function(_, opts)
require("mini.animate").setup(opts)
end,
},
}

View File

@ -34,7 +34,6 @@ return {
opts = {
highlight = { enable = true },
indent = { enable = true },
context_commentstring = { enable = true, enable_autocmd = false },
ensure_installed = {
"bash",
"c",

View File

@ -169,7 +169,7 @@ return {
opts = {
-- char = "▏",
char = "",
filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" },
filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" },
show_trailing_blankline_indent = false,
show_current_context = false,
},
@ -193,9 +193,6 @@ return {
end,
})
end,
config = function(_, opts)
require("mini.indentscope").setup(opts)
end,
},
-- noicer ui
@ -218,12 +215,23 @@ return {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
routes = {
{
filter = {
event = "msg_show",
find = "%d+L, %d+B",
},
view = "mini",
},
},
presets = {
bottom_search = true,
command_palette = true,
long_message_to_split = true,
inc_rename = true,
},
},
-- stylua: ignore