From 1c98a700b38e9b5bbf4af7efa1b6d2d0f9be64f4 Mon Sep 17 00:00:00 2001 From: Russ Tokuyama Date: Tue, 27 Aug 2024 07:31:21 -1000 Subject: [PATCH] Remove unused modules from SQL client --- fnl/conjure/client/sql/stdio.fnl | 3 --- lua/conjure/client/sql/stdio.lua | 3 --- 2 files changed, 6 deletions(-) diff --git a/fnl/conjure/client/sql/stdio.fnl b/fnl/conjure/client/sql/stdio.fnl index 27597253..edfce1ac 100644 --- a/fnl/conjure/client/sql/stdio.fnl +++ b/fnl/conjure/client/sql/stdio.fnl @@ -1,14 +1,11 @@ (local {: autoload} (require :nfnl.module)) (local a (autoload :conjure.aniseed.core)) -(local nvim (autoload :conjure.aniseed.nvim)) (local str (autoload :conjure.aniseed.string)) (local client (autoload :conjure.client)) (local log (autoload :conjure.log)) (local stdio (autoload :conjure.remote.stdio-rt)) (local config (autoload :conjure.config)) -(local text (autoload :conjure.text)) (local mapping (autoload :conjure.mapping)) -(local ts (autoload :conjure.tree-sitter)) (import-macros {: augroup : autocmd} :conjure.macros) diff --git a/lua/conjure/client/sql/stdio.lua b/lua/conjure/client/sql/stdio.lua index 60ff3c6c..f6abe738 100644 --- a/lua/conjure/client/sql/stdio.lua +++ b/lua/conjure/client/sql/stdio.lua @@ -2,15 +2,12 @@ local _local_1_ = require("nfnl.module") local autoload = _local_1_["autoload"] local a = autoload("conjure.aniseed.core") -local nvim = autoload("conjure.aniseed.nvim") local str = autoload("conjure.aniseed.string") local client = autoload("conjure.client") local log = autoload("conjure.log") local stdio = autoload("conjure.remote.stdio-rt") local config = autoload("conjure.config") -local text = autoload("conjure.text") local mapping = autoload("conjure.mapping") -local ts = autoload("conjure.tree-sitter") config.merge({client = {sql = {stdio = {command = "psql postgres://postgres:postgres@localhost/postgres", prompt_pattern = "=> "}}}}) if config["get-in"]({"mapping", "enable_defaults"}) then config.merge({client = {sql = {stdio = {mapping = {start = "cs", stop = "cS", interrupt = "ei"}}}}})