Add plugins and customizations
This commit is contained in:
		
							parent
							
								
									5aeddfdd5d
								
							
						
					
					
						commit
						9d1bfea5a4
					
				
							
								
								
									
										6
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										6
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -566,8 +566,8 @@ require('lazy').setup({
 | 
			
		|||
      --        For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
 | 
			
		||||
      local servers = {
 | 
			
		||||
        -- clangd = {},
 | 
			
		||||
        -- gopls = {},
 | 
			
		||||
        -- pyright = {},
 | 
			
		||||
        gopls = {},
 | 
			
		||||
        pyright = {},
 | 
			
		||||
        -- rust_analyzer = {},
 | 
			
		||||
        -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
 | 
			
		||||
        --
 | 
			
		||||
| 
						 | 
				
			
			@ -885,7 +885,7 @@ require('lazy').setup({
 | 
			
		|||
  --
 | 
			
		||||
  --  Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
			
		||||
  --    For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
 | 
			
		||||
  -- { import = 'custom.plugins' },
 | 
			
		||||
  { import = 'custom.plugins' },
 | 
			
		||||
}, {
 | 
			
		||||
  ui = {
 | 
			
		||||
    -- If you are using a Nerd Font: set icons to an empty table which will use the
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
return {
 | 
			
		||||
  {
 | 
			
		||||
    'catppuccin/nvim',
 | 
			
		||||
    name = 'catppuccin',
 | 
			
		||||
    priority = 1000,
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -2,4 +2,22 @@
 | 
			
		|||
--  I promise not to create any merge conflicts in this directory :)
 | 
			
		||||
--
 | 
			
		||||
-- See the kickstart.nvim README for more information
 | 
			
		||||
return {}
 | 
			
		||||
return {
 | 
			
		||||
  vim.keymap.set('n', '<space>fb', ':Telescope file_browser path=%:p:h select_buffer=true<CR>'),
 | 
			
		||||
  vim.keymap.set('n', '<space>ng', ':Neogit cwd=%:p:h<CR>'),
 | 
			
		||||
 | 
			
		||||
  require('mini.surround').setup(),
 | 
			
		||||
 | 
			
		||||
  require('mini.pairs').setup(),
 | 
			
		||||
 | 
			
		||||
  require('mini.indentscope').setup {
 | 
			
		||||
    options = { try_as_border = true },
 | 
			
		||||
    symbol = '│',
 | 
			
		||||
    draw = {
 | 
			
		||||
      delay = 200,
 | 
			
		||||
      animation = function()
 | 
			
		||||
        return 1
 | 
			
		||||
      end,
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
return {
 | 
			
		||||
  {
 | 
			
		||||
    'NeogitOrg/neogit',
 | 
			
		||||
    dependencies = {
 | 
			
		||||
      'nvim-lua/plenary.nvim', -- required
 | 
			
		||||
      'sindrets/diffview.nvim', -- optional - Diff integration
 | 
			
		||||
 | 
			
		||||
      -- Only one of these is needed, not both.
 | 
			
		||||
      'nvim-telescope/telescope.nvim', -- optional
 | 
			
		||||
    },
 | 
			
		||||
    config = function()
 | 
			
		||||
      require('neogit').setup {
 | 
			
		||||
        kind = 'split',
 | 
			
		||||
        integrations = { diffview = true },
 | 
			
		||||
      }
 | 
			
		||||
    end,
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
return {
 | 
			
		||||
  -- lazy.nvim
 | 
			
		||||
  {
 | 
			
		||||
    'folke/noice.nvim',
 | 
			
		||||
    event = 'VeryLazy',
 | 
			
		||||
    opts = {
 | 
			
		||||
      -- add any options here
 | 
			
		||||
    },
 | 
			
		||||
    dependencies = {
 | 
			
		||||
      -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
 | 
			
		||||
      'MunifTanjim/nui.nvim',
 | 
			
		||||
      -- OPTIONAL:
 | 
			
		||||
      --   `nvim-notify` is only needed, if you want to use the notification view.
 | 
			
		||||
      --   If not available, we use `mini` as the fallback
 | 
			
		||||
      'rcarriga/nvim-notify',
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
return {
 | 
			
		||||
  {
 | 
			
		||||
    'nvim-telescope/telescope-file-browser.nvim',
 | 
			
		||||
    dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
return {
 | 
			
		||||
  {
 | 
			
		||||
    'folke/trouble.nvim',
 | 
			
		||||
    dependencies = { 'nvim-tree/nvim-web-devicons' },
 | 
			
		||||
    opts = {
 | 
			
		||||
      -- your configuration comes here
 | 
			
		||||
      -- or leave it empty to use the default settings
 | 
			
		||||
      lazy = true,
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue