make ltex shut up
This commit is contained in:
parent
64f178ec8e
commit
e102335f6e
|
@ -32,8 +32,10 @@ M.rust_analyzer = {
|
||||||
M.ltex = {
|
M.ltex = {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
use_spellfile = false,
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
|
checkFrequency = "save", -- shut up while i'm just editing, see <https://github.com/folke/noice.nvim/issues/166>
|
||||||
-- specific language (such as en-GB or de-DE is recommended, but I
|
-- specific language (such as en-GB or de-DE is recommended, but I
|
||||||
-- want multilingual)
|
-- want multilingual)
|
||||||
language = "auto",
|
language = "auto",
|
||||||
|
@ -52,6 +54,10 @@ M.ltex = {
|
||||||
"html",
|
"html",
|
||||||
"xhtml",
|
"xhtml",
|
||||||
},
|
},
|
||||||
|
additionalRules = {
|
||||||
|
enablePickyRules = true,
|
||||||
|
motherTongue = "de",
|
||||||
|
},
|
||||||
-- load token and additional languagetool items later
|
-- load token and additional languagetool items later
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
g.maplocalleader = ";"
|
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.mouse = "a" -- mouse does annoying things for me if it's not 'a'
|
||||||
opt.signcolumn = "yes"
|
opt.signcolumn = "yes"
|
||||||
|
@ -169,12 +169,14 @@ vim.api.nvim_create_autocmd("VimResized", {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Wrap and enable spell-checker in text filetypes
|
-- Wrap and enable spell-checker in text filetypes
|
||||||
|
-- also enable wrap on these text filetypes
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
group = augroup "spell_conceal",
|
group = augroup "spell_conceal",
|
||||||
pattern = { "gitcommit", "markdown", "tex", "latex", "norg" },
|
pattern = { "gitcommit", "markdown", "tex", "latex", "norg" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt_local.spell = true
|
vim.opt_local.spell = true
|
||||||
vim.opt_local.conceallevel = 0
|
vim.opt_local.conceallevel = 0
|
||||||
|
vim.opt.wrap = true
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -364,6 +364,17 @@ local plugins = {
|
||||||
-- produce a conflict
|
-- produce a conflict
|
||||||
signature = { enabled = false },
|
signature = { enabled = false },
|
||||||
hover = { 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
|
-- you can enable a preset for easier configuration
|
||||||
presets = {
|
presets = {
|
||||||
|
|
|
@ -336,3 +336,4 @@ Leininger
|
||||||
Dockerfile
|
Dockerfile
|
||||||
yml
|
yml
|
||||||
CMD
|
CMD
|
||||||
|
UDPP
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue