Initial commit.
This commit is contained in:
		
							parent
							
								
									2510c29d62
								
							
						
					
					
						commit
						b9dd6524a7
					
				
							
								
								
									
										4
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										4
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -266,7 +266,7 @@ require('lazy').setup({
 | 
				
			||||||
  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
					  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
				
			||||||
  --
 | 
					  --
 | 
				
			||||||
  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
					  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
				
			||||||
  -- { import = 'custom.plugins' },
 | 
					  { import = 'custom.plugins' }
 | 
				
			||||||
}, {})
 | 
					}, {})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- [[ Setting options ]]
 | 
					-- [[ Setting options ]]
 | 
				
			||||||
| 
						 | 
					@ -662,5 +662,7 @@ cmp.setup {
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					require 'custom.options'
 | 
				
			||||||
 | 
					require 'custom.remaps'
 | 
				
			||||||
-- The line beneath this is called `modeline`. See `:help modeline`
 | 
					-- The line beneath this is called `modeline`. See `:help modeline`
 | 
				
			||||||
-- vim: ts=2 sts=2 sw=2 et
 | 
					-- vim: ts=2 sts=2 sw=2 et
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,32 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
 | 
				
			||||||
 | 
					  "LuaSnip": { "branch": "master", "commit": "2dbef19461198630b3d7c39f414d09fb07d1fdd2" },
 | 
				
			||||||
 | 
					  "catppuccin": { "branch": "main", "commit": "bc1f2151f23227ba02ac203c2c59ad693352a741" },
 | 
				
			||||||
 | 
					  "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
 | 
				
			||||||
 | 
					  "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
 | 
				
			||||||
 | 
					  "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
 | 
				
			||||||
 | 
					  "fidget.nvim": { "branch": "main", "commit": "3a93300c076109d86c7ce35ec67a8034ae6ba9db" },
 | 
				
			||||||
 | 
					  "friendly-snippets": { "branch": "main", "commit": "aced40b66b7bae9bc2c37fd7b11841d54727a7b0" },
 | 
				
			||||||
 | 
					  "gitsigns.nvim": { "branch": "main", "commit": "300a306da9973e81c2c06460f71fd7a079df1f36" },
 | 
				
			||||||
 | 
					  "indent-blankline.nvim": { "branch": "master", "commit": "12e92044d313c54c438bd786d11684c88f6f78cd" },
 | 
				
			||||||
 | 
					  "lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
 | 
				
			||||||
 | 
					  "lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
 | 
				
			||||||
 | 
					  "mason-lspconfig.nvim": { "branch": "main", "commit": "b9084b1f42f790d6230dc66dbcb6bcc35b148552" },
 | 
				
			||||||
 | 
					  "mason.nvim": { "branch": "main", "commit": "9c9416817c9f4e6f333c749327a1ed5355cfab61" },
 | 
				
			||||||
 | 
					  "neo-tree.nvim": { "branch": "v3.x", "commit": "2f2d08894bbc679d4d181604c16bb7079f646384" },
 | 
				
			||||||
 | 
					  "neodev.nvim": { "branch": "main", "commit": "3408a4daeca5ff8f41cb2c668b6d8fcc665f793a" },
 | 
				
			||||||
 | 
					  "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
 | 
				
			||||||
 | 
					  "nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },
 | 
				
			||||||
 | 
					  "nvim-lspconfig": { "branch": "master", "commit": "8917d2c830e04bf944a699b8c41f097621283828" },
 | 
				
			||||||
 | 
					  "nvim-treesitter": { "branch": "master", "commit": "cc908cfcd7258b2e5c1a9c583e2f3feda0caf23b" },
 | 
				
			||||||
 | 
					  "nvim-treesitter-textobjects": { "branch": "master", "commit": "19a91a38b02c1c28c14e0ba468d20ae1423c39b2" },
 | 
				
			||||||
 | 
					  "nvim-web-devicons": { "branch": "master", "commit": "b427ac5f9dff494f839e81441fb3f04a58cbcfbc" },
 | 
				
			||||||
 | 
					  "onedark.nvim": { "branch": "master", "commit": "14e5de43cf1ff761c280d1ff5b9980897f5b46c7" },
 | 
				
			||||||
 | 
					  "plenary.nvim": { "branch": "master", "commit": "663246936325062427597964d81d30eaa42ab1e4" },
 | 
				
			||||||
 | 
					  "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
 | 
				
			||||||
 | 
					  "telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
 | 
				
			||||||
 | 
					  "vim-fugitive": { "branch": "master", "commit": "854a8df0d06b8d3fcb30fa7f2b08c62b553eee3b" },
 | 
				
			||||||
 | 
					  "vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" },
 | 
				
			||||||
 | 
					  "vim-sleuth": { "branch": "master", "commit": "1cc4557420f215d02c4d2645a748a816c220e99b" },
 | 
				
			||||||
 | 
					  "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					vim.wo.relativenumber = true
 | 
				
			||||||
 | 
					vim.bo.tabstop = 2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					return {}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,17 @@
 | 
				
			||||||
 | 
					return
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "nvim-neo-tree/neo-tree.nvim",
 | 
				
			||||||
 | 
					    branch = "v3.x",
 | 
				
			||||||
 | 
					    dependencies = {
 | 
				
			||||||
 | 
					      "nvim-lua/plenary.nvim",
 | 
				
			||||||
 | 
					      "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
 | 
				
			||||||
 | 
					      "MunifTanjim/nui.nvim",
 | 
				
			||||||
 | 
					      -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    config = function ()
 | 
				
			||||||
 | 
					      vim.keymap.set('n', '<leader>o', ':Neotree<CR>', { desc = 'Open file browser' })
 | 
				
			||||||
 | 
					      require("neo-tree").setup({
 | 
				
			||||||
 | 
					        -- Neotree config
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    end
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					return {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							'catppuccin/nvim',
 | 
				
			||||||
 | 
							name = 'catppuccin',
 | 
				
			||||||
 | 
							priority = 900,
 | 
				
			||||||
 | 
							config = function()
 | 
				
			||||||
 | 
								vim.cmd.colorscheme 'catppuccin'
 | 
				
			||||||
 | 
							end,
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							-- Set lualine as statusline
 | 
				
			||||||
 | 
							'nvim-lualine/lualine.nvim',
 | 
				
			||||||
 | 
							-- See `:help lualine.txt`
 | 
				
			||||||
 | 
							opts = {
 | 
				
			||||||
 | 
								options = {
 | 
				
			||||||
 | 
									icons_enabled = true,
 | 
				
			||||||
 | 
									theme = 'auto',
 | 
				
			||||||
 | 
									-- component_separators = '|',
 | 
				
			||||||
 | 
									-- section_separators = '',
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					-- Diagnostic keymaps
 | 
				
			||||||
 | 
					vim.keymap.set('n', '<leader>cd', vim.diagnostic.open_float, { desc = 'Open floating diagnostic message' })
 | 
				
			||||||
 | 
					vim.keymap.set('n', '<leader>cD', vim.diagnostic.setloclist, { desc = 'Open diagnostics list' })
 | 
				
			||||||
		Loading…
	
		Reference in New Issue