From ec27b247a5e25f6997b66aee30090eda18efaa27 Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 18 Aug 2025 23:41:27 -0300 Subject: chore: miscellaneous type fixes --- lsp/tsgo.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lsp/tsgo.lua') diff --git a/lsp/tsgo.lua b/lsp/tsgo.lua index a56dfcda..28cdf6b9 100644 --- a/lsp/tsgo.lua +++ b/lsp/tsgo.lua @@ -32,7 +32,7 @@ return { local project_root_markers = { 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock' } local project_root = vim.fs.root(bufnr, project_root_markers) if not project_root then - return nil + return end -- We know that the buffer is using Typescript if it has a config file @@ -46,7 +46,7 @@ return { stop = vim.fs.dirname(project_root), })[1] if not is_buffer_using_typescript then - return nil + return end on_dir(project_root) -- cgit v1.2.3-70-g09d2