AutoYADM commit: 2024-11-19 17:30:02
This commit is contained in:
parent
f6621b1ade
commit
fd7ef12444
4 changed files with 32 additions and 17 deletions
|
@ -4,4 +4,5 @@
|
|||
local opt = vim.opt
|
||||
opt.scrolloff = 2
|
||||
|
||||
opt.spell = false
|
||||
-- opt.spelloptions = "camel"
|
||||
|
|
|
@ -1,20 +1,33 @@
|
|||
return {
|
||||
"folke/noice.nvim",
|
||||
opts = {
|
||||
-- recipe to ignore progress messages from
|
||||
-- the ltex lsp
|
||||
routes = {
|
||||
{
|
||||
filter = {
|
||||
event = "lsp",
|
||||
kind = "progress",
|
||||
cond = function(message)
|
||||
local client = vim.tbl_get(message.opts, "progress", "client")
|
||||
return client == "ltex"
|
||||
end,
|
||||
},
|
||||
opts = { skip = true },
|
||||
},
|
||||
},
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"rcarriga/nvim-notify",
|
||||
},
|
||||
-- opts = {
|
||||
-- -- recipe to ignore progress messages from
|
||||
-- -- the ltex lsp
|
||||
-- routes = {
|
||||
-- {
|
||||
-- filter = {
|
||||
-- event = "lsp",
|
||||
-- kind = "progress",
|
||||
-- cond = function(message)
|
||||
-- -- local client = vim.tbl_get(message.opts, "progress", "client")
|
||||
-- local client = vim.tbl_get(message.opts, "client")
|
||||
-- return client == "ltex"
|
||||
-- end,
|
||||
-- },
|
||||
-- opts = { skip = true },
|
||||
-- },
|
||||
-- {
|
||||
-- filter = {
|
||||
-- event = "msg_show",
|
||||
-- kind = "",
|
||||
-- find = "written",
|
||||
-- },
|
||||
-- opts = { skip = true },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
return {
|
||||
"williamboman/mason.nvim",
|
||||
-- opts = { ensure_installed = { "typos-lsp" } },
|
||||
opts = { ensure_installed = { "typos-lsp" } },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue