diff --git a/lua/custom/configs/lspsettings.lua b/lua/custom/configs/lspsettings.lua index 0a26aee..6490918 100644 --- a/lua/custom/configs/lspsettings.lua +++ b/lua/custom/configs/lspsettings.lua @@ -32,8 +32,10 @@ M.rust_analyzer = { M.ltex = { on_attach = on_attach, capabilities = capabilities, + use_spellfile = false, settings = { ltex = { + checkFrequency = "save", -- shut up while i'm just editing, see -- specific language (such as en-GB or de-DE is recommended, but I -- want multilingual) language = "auto", @@ -52,7 +54,11 @@ M.ltex = { "html", "xhtml", }, - -- load token and additional languagetool items later + additionalRules = { + enablePickyRules = true, + motherTongue = "de", + }, + -- load token and additional languagetool items later }, }, } diff --git a/lua/custom/init.lua b/lua/custom/init.lua index 6731ad5..d0117d8 100644 --- a/lua/custom/init.lua +++ b/lua/custom/init.lua @@ -1,7 +1,7 @@ local opt = vim.opt local g = vim.g g.maplocalleader = ";" -g.python3_host_prog = '/usr/bin/python3' +g.python3_host_prog = "/usr/bin/python3" opt.mouse = "a" -- mouse does annoying things for me if it's not 'a' opt.signcolumn = "yes" @@ -169,12 +169,14 @@ vim.api.nvim_create_autocmd("VimResized", { }) -- Wrap and enable spell-checker in text filetypes +-- also enable wrap on these text filetypes vim.api.nvim_create_autocmd("FileType", { group = augroup "spell_conceal", pattern = { "gitcommit", "markdown", "tex", "latex", "norg" }, callback = function() vim.opt_local.spell = true vim.opt_local.conceallevel = 0 + vim.opt.wrap = true end, }) diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 1b66546..aade18d 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -364,6 +364,17 @@ local plugins = { -- produce a conflict signature = { enabled = false }, hover = { enabled = false }, + progress = { + enabled = true, + -- Lsp Progress is formatted using the builtins for lsp_progress. See config.format.builtin + -- See the section on formatting for more details on how to customize. + --- @type NoiceFormat|string + format = "lsp_progress", + --- @type NoiceFormat|string + format_done = "lsp_progress_done", + throttle = 1000 / 30, -- frequency to update lsp progress message + view = "mini", -- default: mini + }, }, -- you can enable a preset for easier configuration presets = { @@ -949,8 +960,8 @@ local plugins = { "NvChad/ui", -- load after nvchad ui }, config = function() - -- TODO: add lsp module for lualine - -- Maybe we can steal modules from the nvchad ui + -- TODO: add lsp module for lualine + -- Maybe we can steal modules from the nvchad ui require("lualine").setup() end, }, diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index c27c6fb..74464ec 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -336,3 +336,4 @@ Leininger Dockerfile yml CMD +UDPP diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 4c84b89..36739aa 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ