clarified comment on expandtab
This commit is contained in:
		
							parent
							
								
									04c6116b73
								
							
						
					
					
						commit
						6038e14686
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -57,9 +57,9 @@ opt.shiftwidth = 0 --zero inherrits tabstop.
 | 
				
			||||||
opt.autoindent = true
 | 
					opt.autoindent = true
 | 
				
			||||||
opt.smartindent = true
 | 
					opt.smartindent = true
 | 
				
			||||||
opt.smarttab = true
 | 
					opt.smarttab = true
 | 
				
			||||||
--space based tabs.
 | 
					-- for space based tabs, change expandtab to false.
 | 
				
			||||||
opt.softtabstop = -1 --negative value inherrits shiftwidth.
 | 
					 | 
				
			||||||
opt.expandtab = true
 | 
					opt.expandtab = true
 | 
				
			||||||
 | 
					opt.softtabstop = -1 --negative value inherrits shiftwidth.
 | 
				
			||||||
--highlight search results as you type.
 | 
					--highlight search results as you type.
 | 
				
			||||||
opt.hlsearch = true
 | 
					opt.hlsearch = true
 | 
				
			||||||
opt.incsearch = true
 | 
					opt.incsearch = true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -53,9 +53,9 @@ opt.shiftwidth = 0 --zero inherrits tabstop.
 | 
				
			||||||
opt.autoindent = true
 | 
					opt.autoindent = true
 | 
				
			||||||
opt.smartindent = true
 | 
					opt.smartindent = true
 | 
				
			||||||
opt.smarttab = true
 | 
					opt.smarttab = true
 | 
				
			||||||
--space based tabs.
 | 
					-- for space based tabs, change expandtab to false.
 | 
				
			||||||
-- opt.softtabstop=-1 --negative value inherrits shiftwidth.
 | 
					opt.expandtab=false
 | 
				
			||||||
-- opt.expandtab=true
 | 
					opt.softtabstop=-1 --negative value inherrits shiftwidth.
 | 
				
			||||||
--highlight search results as you type.
 | 
					--highlight search results as you type.
 | 
				
			||||||
opt.hlsearch = true
 | 
					opt.hlsearch = true
 | 
				
			||||||
opt.incsearch = true
 | 
					opt.incsearch = true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue