From ac9397a703e23299a23d5dbef58d83cc9808b1c2 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 24 Aug 2024 16:31:49 -0400 Subject: [PATCH] refactor: streamline build return logic for smart_splits --- lua/data/types.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lua/data/types.lua b/lua/data/types.lua index ddace2c..fefba5d 100644 --- a/lua/data/types.lua +++ b/lua/data/types.lua @@ -147,6 +147,16 @@ M.indent_char = { "󰽽", } +M.smart_splits = { + build = function() + if require("data.func").is_kitty() then + return "./kitty/install-kittens.bash" + else + return false + end + end, +} + M.minimap = { -- Width of minimap width = 20, @@ -210,7 +220,7 @@ M.minimap = { end, } -M.ollama_copilot = { +M.llama_copilot = { host = "localhost", port = "11434", model = "codellama:7b-code",