make ltex shut up
This commit is contained in:
parent
64f178ec8e
commit
e102335f6e
|
@ -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 <https://github.com/folke/noice.nvim/issues/166>
|
||||
-- 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
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
})
|
||||
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -336,3 +336,4 @@ Leininger
|
|||
Dockerfile
|
||||
yml
|
||||
CMD
|
||||
UDPP
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue