init changes
This commit is contained in:
		
							parent
							
								
									98ad2ee32a
								
							
						
					
					
						commit
						295d038194
					
				
							
								
								
									
										8
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										8
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -41,7 +41,7 @@ P.S. You can delete this when you're done too. It's your config now :)
 | 
			
		|||
-- See `:help mapleader`
 | 
			
		||||
--  NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
 | 
			
		||||
vim.g.mapleader = ' '
 | 
			
		||||
vim.g.maplocalleader = ' '
 | 
			
		||||
vim.g.maplocalleader = ','
 | 
			
		||||
 | 
			
		||||
-- Install package manager
 | 
			
		||||
--    https://github.com/folke/lazy.nvim
 | 
			
		||||
| 
						 | 
				
			
			@ -210,7 +210,7 @@ require('lazy').setup({
 | 
			
		|||
  --    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
 | 
			
		||||
  -- { import = 'custom.plugins' },
 | 
			
		||||
  { import = 'custom.plugins' },
 | 
			
		||||
}, {})
 | 
			
		||||
 | 
			
		||||
-- [[ Setting options ]]
 | 
			
		||||
| 
						 | 
				
			
			@ -313,10 +313,10 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
 | 
			
		|||
-- See `:help nvim-treesitter`
 | 
			
		||||
require('nvim-treesitter.configs').setup {
 | 
			
		||||
  -- Add languages to be installed here that you want installed for treesitter
 | 
			
		||||
  ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
 | 
			
		||||
  ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'vimdoc', 'vim', 'clojure', 'lisp' },
 | 
			
		||||
 | 
			
		||||
  -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
 | 
			
		||||
  auto_install = false,
 | 
			
		||||
  auto_install = true,
 | 
			
		||||
 | 
			
		||||
  highlight = { enable = true },
 | 
			
		||||
  indent = { enable = true },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue