update init.lua

This commit is contained in:
Bogdan Buduroiu 2024-10-22 18:42:40 +08:00
parent d3cc1e4ec3
commit f36f9e078a
Signed by: bruvduroiu
GPG key ID: A8722B2334DE9499

View file

@ -1,7 +1,7 @@
return { return {
{ {
"stevearc/conform.nvim", "stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save event = 'BufWritePre', -- uncomment for format on save
opts = require "configs.conform", opts = require "configs.conform",
}, },
@ -14,20 +14,20 @@ return {
}, },
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = { opts = {
ensure_installed = { ensure_installed = {
"vim", "lua", "vimdoc", "vim", "lua", "vimdoc",
"html", "css", "python", "html", "css", "python",
"typescript", "go" "typescript", "go"
}, },
}, },
}, },
{ {
"tpope/vim-fugitive", "tpope/vim-fugitive",
cmd={"Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse"}, cmd = { "Git", "G", "Gdiffsplit", "Gvdiffsplit", "Gwrite", "Gread", "Ggrep", "GMove", "GDelete", "GBrowse" },
keys={ keys = {
{"<leader>gs", "<cmd>vertical Git<cr>" }, { "<leader>gs", "<cmd>vertical Git<cr>" },
desc = "Open Fugitive" desc = "Open Fugitive"
}, },
opts = { opts = {
@ -37,7 +37,7 @@ return {
{ "tpope/vim-rhubarb", opts = { enabled = true, lazy = false } }, { "tpope/vim-rhubarb", opts = { enabled = true, lazy = false } },
{ {
"folke/zen-mode.nvim", "folke/zen-mode.nvim",
cmd="ZenMode", cmd = "ZenMode",
opts = { opts = {
plugins = { plugins = {
kitty = { kitty = {
@ -54,12 +54,12 @@ return {
auto_open = false, auto_open = false,
warn_no_results = false, warn_no_results = false,
modes = { modes = {
symbols = { -- Configure symbols mode symbols = { -- Configure symbols mode
win = { win = {
type = "split", -- split window type = "split", -- split window
relative = "win", -- relative to current window relative = "win", -- relative to current window
position = "right", -- right side 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 -- you can enable a preset for easier configuration
presets = { presets = {
bottom_search = true, -- use a classic bottom cmdline for search bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help lsp_doc_border = false, -- add a border to hover docs and signature help
}, },
}, },
}, },
@ -128,4 +128,8 @@ return {
"cp ./*.py ~/.config/kitty/" "cp ./*.py ~/.config/kitty/"
} }
}, },
{
"gfontenot/vim-xcode",
enabled = true,
},
} }