diff --git a/lua/Dario48/lazy.lua b/lua/Dario48/lazy.lua index d356689..caf0c69 100644 --- a/lua/Dario48/lazy.lua +++ b/lua/Dario48/lazy.lua @@ -1,13 +1,13 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- latest stable release - lazypath, - }) + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) end vim.opt.rtp:prepend(lazypath) require("lazy").setup({ import = "Dario48/plugins" }) diff --git a/lua/Dario48/plugins/VimBeGood.lua b/lua/Dario48/plugins/VimBeGood.lua index 8c82e88..a4ce377 100644 --- a/lua/Dario48/plugins/VimBeGood.lua +++ b/lua/Dario48/plugins/VimBeGood.lua @@ -1,6 +1,6 @@ return { - 'ThePrimeagen/vim-be-good', - config = function() - vim.keymap.set("n", "vbg", ":VimBeGood ") - end + 'ThePrimeagen/vim-be-good', + config = function() + vim.keymap.set("n", "vbg", ":VimBeGood ") + end } diff --git a/lua/Dario48/plugins/alpha.lua b/lua/Dario48/plugins/alpha.lua index 84df6f4..3771a9d 100644 --- a/lua/Dario48/plugins/alpha.lua +++ b/lua/Dario48/plugins/alpha.lua @@ -29,7 +29,7 @@ return { {'bottom_of_mlm', 961, 1078}, } -- Set menu - dashboard.section.buttons.val= { + dashboard.section.buttons.val= { type = "group", val = { { type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } }, @@ -46,6 +46,6 @@ return { -- Disable folding on alpha buffer vim.cmd([[ autocmd FileType alpha setlocal nofoldenable - ]]) + ]]) end }; diff --git a/lua/Dario48/plugins/bufferline.lua b/lua/Dario48/plugins/bufferline.lua index a30842e..f5ab53d 100644 --- a/lua/Dario48/plugins/bufferline.lua +++ b/lua/Dario48/plugins/bufferline.lua @@ -1,11 +1,11 @@ return { - 'akinsho/bufferline.nvim', - version = "*", - dependencies = 'nvim-tree/nvim-web-devicons', - config = function() - require("bufferline").setup() - vim.keymap.set("n", "bb", ":bNext ") - vim.keymap.set("n", "bk", ":bdelete ") - vim.keymap.set("n", "bl", ":blast ") - end + 'akinsho/bufferline.nvim', + version = "*", + dependencies = 'nvim-tree/nvim-web-devicons', + config = function() + require("bufferline").setup() + vim.keymap.set("n", "bb", ":bNext ") + vim.keymap.set("n", "bk", ":bdelete ") + vim.keymap.set("n", "bl", ":blast ") + end } diff --git a/lua/Dario48/plugins/feline.lua b/lua/Dario48/plugins/feline.lua index a774ff8..3bb990f 100644 --- a/lua/Dario48/plugins/feline.lua +++ b/lua/Dario48/plugins/feline.lua @@ -1,10 +1,10 @@ -return { - 'freddiehaddad/feline.nvim', - dependencies = { - 'nvim-tree/nvim-web-devicons', - 'lewis6991/gitsigns.nvim', - }, - config = function() - require('feline').setup() - end +return { + 'freddiehaddad/feline.nvim', + dependencies = { + 'nvim-tree/nvim-web-devicons', + 'lewis6991/gitsigns.nvim', + }, + config = function() + require('feline').setup() + end } diff --git a/lua/Dario48/plugins/nightfox.lua b/lua/Dario48/plugins/nightfox.lua index ca2606e..f1bb23b 100644 --- a/lua/Dario48/plugins/nightfox.lua +++ b/lua/Dario48/plugins/nightfox.lua @@ -1,8 +1,8 @@ return { - "EdenEast/nightfox.nvim", - priority = 1000, - config = function() - vim.opt.termguicolors = true - vim.cmd("colorscheme carbonfox") - end + "EdenEast/nightfox.nvim", + priority = 1000, + config = function() + vim.opt.termguicolors = true + vim.cmd("colorscheme carbonfox") + end } diff --git a/lua/Dario48/plugins/telescope.lua b/lua/Dario48/plugins/telescope.lua index 01528b9..edb1c33 100644 --- a/lua/Dario48/plugins/telescope.lua +++ b/lua/Dario48/plugins/telescope.lua @@ -1,12 +1,12 @@ return { - 'nvim-telescope/telescope.nvim', - dependencies = { 'nvim-lua/plenary.nvim', "sharkdp/fd", "nvim-tree/nvim-web-devicons" }, - config = function() - local builtin = require('telescope.builtin') - vim.keymap.set('n', 'ff', builtin.find_files, {}) - vim.keymap.set('n', 'fg', builtin.git_files, {}) - vim.keymap.set('n', 'fs', function() - builtin.grep_string({search = vim.fn.input("What to grep? ")}) - end) - end + 'nvim-telescope/telescope.nvim', + dependencies = { 'nvim-lua/plenary.nvim', "sharkdp/fd", "nvim-tree/nvim-web-devicons" }, + config = function() + local builtin = require('telescope.builtin') + vim.keymap.set('n', 'ff', builtin.find_files, {}) + vim.keymap.set('n', 'fg', builtin.git_files, {}) + vim.keymap.set('n', 'fs', function() + builtin.grep_string({search = vim.fn.input("What to grep? ")}) + end) + end } diff --git a/lua/Dario48/plugins/treesitter.lua b/lua/Dario48/plugins/treesitter.lua index 4a0876d..8f68c5a 100644 --- a/lua/Dario48/plugins/treesitter.lua +++ b/lua/Dario48/plugins/treesitter.lua @@ -1,17 +1,17 @@ return { - "nvim-treesitter/nvim-treesitter", - build = function() - require("nvim-treesitter.install").update({ with_sync = true })() - end, - config = function () - local configs = require("nvim-treesitter.configs") + "nvim-treesitter/nvim-treesitter", + build = function() + require("nvim-treesitter.install").update({ with_sync = true })() + end, + config = function () + local configs = require("nvim-treesitter.configs") - configs.setup({ - ensure_installed = { "c", "lua", "vim", "vimdoc", "query" }, - sync_install = false, - auto_install = true, - highlight = { enable = true, additional_vim_regex_highlighting = false }, - indent = { enable = true }, - }) - end + configs.setup({ + ensure_installed = { "c", "lua", "vim", "vimdoc", "query" }, + sync_install = false, + auto_install = true, + highlight = { enable = true, additional_vim_regex_highlighting = false }, + indent = { enable = true }, + }) + end } diff --git a/lua/Dario48/plugins/whichkey.lua b/lua/Dario48/plugins/whichkey.lua index 9f06fd5..a82e10d 100644 --- a/lua/Dario48/plugins/whichkey.lua +++ b/lua/Dario48/plugins/whichkey.lua @@ -1,9 +1,9 @@ return { - "folke/which-key.nvim", - event = "VeryLazy", - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 300 - end, - opts = {} + "folke/which-key.nvim", + event = "VeryLazy", + init = function() + vim.o.timeout = true + vim.o.timeoutlen = 300 + end, + opts = {} }