mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-13 20:43:49 +00:00
clean up: auto format
This commit is contained in:
parent
4d400d1e90
commit
9cb2527b25
@ -30,7 +30,7 @@ return {
|
|||||||
-- Useful for getting pretty icons, but requires special font.
|
-- Useful for getting pretty icons, but requires special font.
|
||||||
-- If you already have a Nerd Font, or terminal set up with fallback fonts
|
-- If you already have a Nerd Font, or terminal set up with fallback fonts
|
||||||
-- you can enable this
|
-- you can enable this
|
||||||
{ 'nvim-tree/nvim-web-devicons' }
|
{ 'nvim-tree/nvim-web-devicons' },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- Telescope is a fuzzy finder that comes with a lot of different things that
|
-- Telescope is a fuzzy finder that comes with a lot of different things that
|
||||||
@ -78,6 +78,7 @@ return {
|
|||||||
-- See `:help telescope.builtin`
|
-- See `:help telescope.builtin`
|
||||||
local builtin = require 'telescope.builtin'
|
local builtin = require 'telescope.builtin'
|
||||||
local actions = require 'telescope.actions'
|
local actions = require 'telescope.actions'
|
||||||
|
|
||||||
-- Find files parameters
|
-- Find files parameters
|
||||||
local find_command = {
|
local find_command = {
|
||||||
'rg',
|
'rg',
|
||||||
@ -155,7 +156,7 @@ return {
|
|||||||
-- Git file search
|
-- Git file search
|
||||||
vim.keymap.set('n', '<leader>gf', builtin.git_files, { desc = 'Search [G]it [F]iles' })
|
vim.keymap.set('n', '<leader>gf', builtin.git_files, { desc = 'Search [G]it [F]iles' })
|
||||||
vim.keymap.set('n', '<leader>sG', ':LiveGrepGitRoot<cr>', { desc = '[S]earch by [G]rep on Git Root' })
|
vim.keymap.set('n', '<leader>sG', ':LiveGrepGitRoot<cr>', { desc = '[S]earch by [G]rep on Git Root' })
|
||||||
|
|
||||||
-- Slightly advanced example of overriding default behavior and theme
|
-- Slightly advanced example of overriding default behavior and theme
|
||||||
vim.keymap.set('n', '<leader>/', function()
|
vim.keymap.set('n', '<leader>/', function()
|
||||||
-- You can pass additional configuration to telescope to change theme, layout, etc.
|
-- You can pass additional configuration to telescope to change theme, layout, etc.
|
||||||
@ -180,7 +181,7 @@ return {
|
|||||||
-- This will ignore the directories you specified
|
-- This will ignore the directories you specified
|
||||||
find_command = find_command,
|
find_command = find_command,
|
||||||
attach_mappings = attach_mappings,
|
attach_mappings = attach_mappings,
|
||||||
cwd = vim.fn.stdpath 'config'
|
cwd = vim.fn.stdpath 'config',
|
||||||
}
|
}
|
||||||
end, { desc = '[S]earch [N]eovim files' })
|
end, { desc = '[S]earch [N]eovim files' })
|
||||||
end,
|
end,
|
||||||
|
@ -13,7 +13,6 @@ require('lazy').setup {
|
|||||||
|
|
||||||
-- [[ Plugin Specs list ]]
|
-- [[ Plugin Specs list ]]
|
||||||
|
|
||||||
|
|
||||||
-- NOTE: First, some plugins that don't require any configuration
|
-- NOTE: First, some plugins that don't require any configuration
|
||||||
-- Discord RPC
|
-- Discord RPC
|
||||||
'andweeb/presence.nvim',
|
'andweeb/presence.nvim',
|
||||||
@ -37,7 +36,7 @@ require('lazy').setup {
|
|||||||
{ 'numToStr/Comment.nvim', opts = {} },
|
{ 'numToStr/Comment.nvim', opts = {} },
|
||||||
|
|
||||||
-- Setup neovim lua configuration
|
-- Setup neovim lua configuration
|
||||||
{ "folke/neodev.nvim", opts = {} },
|
{ 'folke/neodev.nvim', opts = {} },
|
||||||
|
|
||||||
-- modular approach: using `require 'path/name'` will
|
-- modular approach: using `require 'path/name'` will
|
||||||
-- include a plugin definition from file lua/path/name.lua
|
-- 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.
|
-- 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).
|
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||||
|
|
||||||
require 'kickstart.plugins.debug',
|
require 'kickstart.plugins.debug',
|
||||||
require 'kickstart.plugins.indent_line',
|
require 'kickstart.plugins.indent_line',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user