I dont know where am i
This commit is contained in:
		
							parent
							
								
									5e15b4879e
								
							
						
					
					
						commit
						a5ef5cafe6
					
				
							
								
								
									
										16
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										16
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -70,13 +70,13 @@ require('lazy').setup({
 | 
				
			||||||
  'tpope/vim-fugitive',
 | 
					  'tpope/vim-fugitive',
 | 
				
			||||||
  'tpope/vim-rhubarb',
 | 
					  'tpope/vim-rhubarb',
 | 
				
			||||||
  -- specific plugins that i installed
 | 
					  -- specific plugins that i installed
 | 
				
			||||||
  {'akinsho/toggleterm.nvim', version = "*", config = true},
 | 
					  { 'akinsho/toggleterm.nvim', version = "*", config = true },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    "iamcco/markdown-preview.nvim",
 | 
					    "iamcco/markdown-preview.nvim",
 | 
				
			||||||
    cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
 | 
					    cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
 | 
				
			||||||
    ft = { "markdown" },
 | 
					    ft = { "markdown" },
 | 
				
			||||||
    build = function() vim.fn["mkdp#util#install"]() end,
 | 
					    build = function() vim.fn["mkdp#util#install"]() end,
 | 
				
			||||||
},
 | 
					  },
 | 
				
			||||||
  -- Detect tabstop and shiftwidth automatically
 | 
					  -- Detect tabstop and shiftwidth automatically
 | 
				
			||||||
  'tpope/vim-sleuth',
 | 
					  'tpope/vim-sleuth',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -158,12 +158,10 @@ require('lazy').setup({
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    -- Theme inspired by Atom
 | 
					    -- Theme inspired by Atom
 | 
				
			||||||
    'navarasu/onedark.nvim',
 | 
					    'rose-pine/neovim',
 | 
				
			||||||
    priority = 1000,
 | 
					 | 
				
			||||||
    transparent = true,
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
      vim.cmd.colorscheme 'onedark'
 | 
					      vim.cmd.colorscheme('rose-pine')
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -174,7 +172,7 @@ require('lazy').setup({
 | 
				
			||||||
    opts = {
 | 
					    opts = {
 | 
				
			||||||
      options = {
 | 
					      options = {
 | 
				
			||||||
        icons_enabled = true,
 | 
					        icons_enabled = true,
 | 
				
			||||||
        theme = 'dracula',
 | 
					        theme = 'rose-pine',
 | 
				
			||||||
        component_separators = '|',
 | 
					        component_separators = '|',
 | 
				
			||||||
        section_separators = '',
 | 
					        section_separators = '',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					@ -235,7 +233,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 ]]
 | 
				
			||||||
| 
						 | 
					@ -341,7 +339,7 @@ vim.keymap.set('n', '<leader>sr', require('telescope.builtin').resume, { desc =
 | 
				
			||||||
vim.defer_fn(function()
 | 
					vim.defer_fn(function()
 | 
				
			||||||
  require('nvim-treesitter.configs').setup {
 | 
					  require('nvim-treesitter.configs').setup {
 | 
				
			||||||
    -- Add languages to be installed here that you want installed for treesitter
 | 
					    -- Add languages to be installed here that you want installed for treesitter
 | 
				
			||||||
    ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash'},
 | 
					    ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
 | 
					    -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
 | 
				
			||||||
    auto_install = false,
 | 
					    auto_install = false,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue