diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 40bf1808..ed84a0ba 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -63,6 +63,7 @@ "nvim-lspconfig": { "branch": "master", "commit": "f012c1b176f0e3c71f40eb309bdec0316689462e" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-noirbuddy": { "branch": "master", "commit": "7fa6c8963585f97c9e37a62a00751f4d9d480f95" }, + "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, "nvim-treesitter": { "branch": "master", "commit": "c50981479e4271ec87c5a15ec991472bdec4f1b8" }, "nvim-treesitter-context": { "branch": "master", "commit": "1147c42cf9477701581d1eb31e1735969e21dd06" }, diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index 7554e62b..54b38985 100644 --- a/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua @@ -4,4 +4,5 @@ local opt = vim.opt opt.scrolloff = 2 +opt.spell = false -- opt.spelloptions = "camel" diff --git a/.config/nvim/lua/plugins/noice.lua b/.config/nvim/lua/plugins/noice.lua index 7ee2a8d4..9d32735b 100644 --- a/.config/nvim/lua/plugins/noice.lua +++ b/.config/nvim/lua/plugins/noice.lua @@ -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 }, + -- }, + -- }, + -- }, } diff --git a/.config/nvim/lua/plugins/typos.lua b/.config/nvim/lua/plugins/typos.lua index a5dab894..9e15b7a9 100644 --- a/.config/nvim/lua/plugins/typos.lua +++ b/.config/nvim/lua/plugins/typos.lua @@ -1,4 +1,4 @@ return { "williamboman/mason.nvim", - -- opts = { ensure_installed = { "typos-lsp" } }, + opts = { ensure_installed = { "typos-lsp" } }, }