From 6ac17e69a353fea377b30a35a672a30f04e887a1 Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Sun, 13 Apr 2025 09:35:35 +1000 Subject: feat(typos-lsp): support pyproject.toml and Cargo.toml #3707 --- lua/lspconfig/configs/typos_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/configs/typos_lsp.lua b/lua/lspconfig/configs/typos_lsp.lua index 3fb58b25..054f246c 100644 --- a/lua/lspconfig/configs/typos_lsp.lua +++ b/lua/lspconfig/configs/typos_lsp.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'typos-lsp' }, - root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml'), + root_dir = util.root_pattern('typos.toml', '_typos.toml', '.typos.toml', 'pyproject.toml', 'Cargo.toml'), single_file_support = true, settings = {}, }, -- cgit v1.2.3-70-g09d2