From 58dc874fa363659108cbc644e634ad805d82162c Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 6 Dec 2024 18:00:04 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-06 18:00:04 --- .config/harper-ls/dictionary.txt | 1 + .../home%fic%second-brain%projects%Zona.md% | 1 + .config/nvim/lua/plugins/typos.lua | 22 +++++++++++++++++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .config/harper-ls/dictionary.txt create mode 100644 .config/harper-ls/file_dictionaries/home%fic%second-brain%projects%Zona.md% diff --git a/.config/harper-ls/dictionary.txt b/.config/harper-ls/dictionary.txt new file mode 100644 index 00000000..57f7c8bc --- /dev/null +++ b/.config/harper-ls/dictionary.txt @@ -0,0 +1 @@ +filetypes diff --git a/.config/harper-ls/file_dictionaries/home%fic%second-brain%projects%Zona.md% b/.config/harper-ls/file_dictionaries/home%fic%second-brain%projects%Zona.md% new file mode 100644 index 00000000..dde5f722 --- /dev/null +++ b/.config/harper-ls/file_dictionaries/home%fic%second-brain%projects%Zona.md% @@ -0,0 +1 @@ +frontmatter diff --git a/.config/nvim/lua/plugins/typos.lua b/.config/nvim/lua/plugins/typos.lua index 9e15b7a9..1be57178 100644 --- a/.config/nvim/lua/plugins/typos.lua +++ b/.config/nvim/lua/plugins/typos.lua @@ -1,4 +1,22 @@ return { - "williamboman/mason.nvim", - opts = { ensure_installed = { "typos-lsp" } }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + typos_lsp = { + init_options = { + diagnosticSeverity = "Warning", + }, + -- autostart = false, + -- filetypes = { + -- "markdown", + -- }, + }, + }, + }, + }, + { + "williamboman/mason-lspconfig.nvim", + opts = { ensure_installed = { "typos_lsp" } }, + }, }