From 9cb2527b250f64a30b7a294fb2fc94ffb197d47c Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Fri, 1 Mar 2024 09:36:17 +0100 Subject: [PATCH] clean up: auto format --- lua/kickstart/plugins/telescope.lua | 7 ++++--- lua/lazy-plugins.lua | 5 ++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/kickstart/plugins/telescope.lua b/lua/kickstart/plugins/telescope.lua index 8925e70..3357db0 100644 --- a/lua/kickstart/plugins/telescope.lua +++ b/lua/kickstart/plugins/telescope.lua @@ -30,7 +30,7 @@ return { -- Useful for getting pretty icons, but requires special font. -- If you already have a Nerd Font, or terminal set up with fallback fonts -- you can enable this - { 'nvim-tree/nvim-web-devicons' } + { 'nvim-tree/nvim-web-devicons' }, }, config = function() -- Telescope is a fuzzy finder that comes with a lot of different things that @@ -78,6 +78,7 @@ return { -- See `:help telescope.builtin` local builtin = require 'telescope.builtin' local actions = require 'telescope.actions' + -- Find files parameters local find_command = { 'rg', @@ -155,7 +156,7 @@ return { -- Git file search vim.keymap.set('n', 'gf', builtin.git_files, { desc = 'Search [G]it [F]iles' }) vim.keymap.set('n', 'sG', ':LiveGrepGitRoot', { desc = '[S]earch by [G]rep on Git Root' }) - + -- Slightly advanced example of overriding default behavior and theme vim.keymap.set('n', '/', function() -- You can pass additional configuration to telescope to change theme, layout, etc. @@ -180,7 +181,7 @@ return { -- This will ignore the directories you specified find_command = find_command, attach_mappings = attach_mappings, - cwd = vim.fn.stdpath 'config' + cwd = vim.fn.stdpath 'config', } end, { desc = '[S]earch [N]eovim files' }) end, diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index 6391441..1abc83d 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -13,7 +13,6 @@ require('lazy').setup { -- [[ Plugin Specs list ]] - -- NOTE: First, some plugins that don't require any configuration -- Discord RPC 'andweeb/presence.nvim', @@ -37,7 +36,7 @@ require('lazy').setup { { 'numToStr/Comment.nvim', opts = {} }, -- Setup neovim lua configuration - { "folke/neodev.nvim", opts = {} }, + { 'folke/neodev.nvim', opts = {} }, -- modular approach: using `require 'path/name'` will -- include a plugin definition from file lua/path/name.lua @@ -70,7 +69,7 @@ require('lazy').setup { -- -- Here are some example plugins that I've included in the kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). - + require 'kickstart.plugins.debug', require 'kickstart.plugins.indent_line',