From f36f9e078ab0f265766f84343522522c6d79c2ea Mon Sep 17 00:00:00 2001 From: Bogdan Buduroiu Date: Tue, 22 Oct 2024 18:42:40 +0800 Subject: [PATCH] update init.lua --- nvim/lua/plugins/init.lua | 44 +++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index 1184437..1d65afb 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -1,7 +1,7 @@ return { { "stevearc/conform.nvim", - -- event = 'BufWritePre', -- uncomment for format on save + event = 'BufWritePre', -- uncomment for format on save opts = require "configs.conform", }, @@ -14,20 +14,20 @@ return { }, { - "nvim-treesitter/nvim-treesitter", - opts = { - ensure_installed = { - "vim", "lua", "vimdoc", - "html", "css", "python", + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = { + "vim", "lua", "vimdoc", + "html", "css", "python", "typescript", "go" - }, - }, + }, + }, }, { "tpope/vim-fugitive", - cmd={"Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse"}, - keys={ - {"gs", "vertical Git" }, + cmd = { "Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse" }, + keys = { + { "gs", "vertical Git" }, desc = "Open Fugitive" }, opts = { @@ -37,7 +37,7 @@ return { { "tpope/vim-rhubarb", opts = { enabled = true, lazy = false } }, { "folke/zen-mode.nvim", - cmd="ZenMode", + cmd = "ZenMode", opts = { plugins = { kitty = { @@ -54,12 +54,12 @@ return { auto_open = false, warn_no_results = false, modes = { - symbols = { -- Configure symbols mode + symbols = { -- Configure symbols mode win = { - type = "split", -- split window - relative = "win", -- relative to current window + type = "split", -- split window + relative = "win", -- relative to current window position = "right", -- right side - size = 0.15, -- 30% of the window + size = 0.15, -- 30% of the window }, }, }, @@ -112,11 +112,11 @@ return { }, -- you can enable a preset for easier configuration presets = { - bottom_search = true, -- use a classic bottom cmdline for search - command_palette = true, -- position the cmdline and popupmenu together + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- position the cmdline and popupmenu together long_message_to_split = true, -- long messages will be sent to a split - inc_rename = false, -- enables an input dialog for inc-rename.nvim - lsp_doc_border = false, -- add a border to hover docs and signature help + inc_rename = false, -- enables an input dialog for inc-rename.nvim + lsp_doc_border = false, -- add a border to hover docs and signature help }, }, }, @@ -128,4 +128,8 @@ return { "cp ./*.py ~/.config/kitty/" } }, + { + "gfontenot/vim-xcode", + enabled = true, + }, }