Added tabstop/softtabstop 4
This commit is contained in:
		
							parent
							
								
									ca533432a6
								
							
						
					
					
						commit
						f5fd67fb1b
					
				
							
								
								
									
										24
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										24
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -74,7 +74,8 @@ require('lazy').setup({
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- NOTE: This is where your plugins related to LSP can be installed.
 | 
					  -- NOTE: This is where your plugins related to LSP can be installed.
 | 
				
			||||||
  --  The configuration is done below. Search for lspconfig to find it below.
 | 
					  --  The configuration is done below. Search for lspconfig to find it below.
 | 
				
			||||||
  { -- LSP Configuration & Plugins
 | 
					  {
 | 
				
			||||||
 | 
					    -- LSP Configuration & Plugins
 | 
				
			||||||
    'neovim/nvim-lspconfig',
 | 
					    'neovim/nvim-lspconfig',
 | 
				
			||||||
    dependencies = {
 | 
					    dependencies = {
 | 
				
			||||||
      -- Automatically install LSPs to stdpath for neovim
 | 
					      -- Automatically install LSPs to stdpath for neovim
 | 
				
			||||||
| 
						 | 
					@ -90,14 +91,16 @@ require('lazy').setup({
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Autocompletion
 | 
					  {
 | 
				
			||||||
 | 
					    -- Autocompletion
 | 
				
			||||||
    'hrsh7th/nvim-cmp',
 | 
					    'hrsh7th/nvim-cmp',
 | 
				
			||||||
    dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
 | 
					    dependencies = { 'hrsh7th/cmp-nvim-lsp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- Useful plugin to show you pending keybinds.
 | 
					  -- Useful plugin to show you pending keybinds.
 | 
				
			||||||
  { 'folke/which-key.nvim',          opts = {} },
 | 
					  { 'folke/which-key.nvim',          opts = {} },
 | 
				
			||||||
  { -- Adds git releated signs to the gutter, as well as utilities for managing changes
 | 
					  {
 | 
				
			||||||
 | 
					    -- Adds git releated signs to the gutter, as well as utilities for managing changes
 | 
				
			||||||
    'lewis6991/gitsigns.nvim',
 | 
					    'lewis6991/gitsigns.nvim',
 | 
				
			||||||
    opts = {
 | 
					    opts = {
 | 
				
			||||||
      -- See `:help gitsigns.txt`
 | 
					      -- See `:help gitsigns.txt`
 | 
				
			||||||
| 
						 | 
					@ -111,7 +114,8 @@ require('lazy').setup({
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Theme inspired by Atom
 | 
					  {
 | 
				
			||||||
 | 
					    -- Theme inspired by Atom
 | 
				
			||||||
    'navarasu/onedark.nvim',
 | 
					    'navarasu/onedark.nvim',
 | 
				
			||||||
    priority = 1000,
 | 
					    priority = 1000,
 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
| 
						 | 
					@ -119,7 +123,8 @@ require('lazy').setup({
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Set lualine as statusline
 | 
					  {
 | 
				
			||||||
 | 
					    -- Set lualine as statusline
 | 
				
			||||||
    'nvim-lualine/lualine.nvim',
 | 
					    'nvim-lualine/lualine.nvim',
 | 
				
			||||||
    -- See `:help lualine.txt`
 | 
					    -- See `:help lualine.txt`
 | 
				
			||||||
    opts = {
 | 
					    opts = {
 | 
				
			||||||
| 
						 | 
					@ -132,7 +137,8 @@ require('lazy').setup({
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Add indentation guides even on blank lines
 | 
					  {
 | 
				
			||||||
 | 
					    -- Add indentation guides even on blank lines
 | 
				
			||||||
    'lukas-reineke/indent-blankline.nvim',
 | 
					    'lukas-reineke/indent-blankline.nvim',
 | 
				
			||||||
    -- Enable `lukas-reineke/indent-blankline.nvim`
 | 
					    -- Enable `lukas-reineke/indent-blankline.nvim`
 | 
				
			||||||
    -- See `:help indent_blankline.txt`
 | 
					    -- See `:help indent_blankline.txt`
 | 
				
			||||||
| 
						 | 
					@ -161,7 +167,8 @@ require('lazy').setup({
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  { -- Highlight, edit, and navigate code
 | 
					  {
 | 
				
			||||||
 | 
					    -- Highlight, edit, and navigate code
 | 
				
			||||||
    'nvim-treesitter/nvim-treesitter',
 | 
					    'nvim-treesitter/nvim-treesitter',
 | 
				
			||||||
    dependencies = {
 | 
					    dependencies = {
 | 
				
			||||||
      'nvim-treesitter/nvim-treesitter-textobjects',
 | 
					      'nvim-treesitter/nvim-treesitter-textobjects',
 | 
				
			||||||
| 
						 | 
					@ -236,6 +243,9 @@ vim.o.number = true
 | 
				
			||||||
vim.o.scrolloff = 5
 | 
					vim.o.scrolloff = 5
 | 
				
			||||||
vim.o.sidescrolloff = 10
 | 
					vim.o.sidescrolloff = 10
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					vim.o.tabstop = 4
 | 
				
			||||||
 | 
					vim.o.softtabstop = 4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- [[ Basic Keymaps ]]
 | 
					-- [[ Basic Keymaps ]]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Keymaps for better default experience
 | 
					-- Keymaps for better default experience
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue