enable spell check in markdown
This commit is contained in:
		
							parent
							
								
									8f2fcd3739
								
							
						
					
					
						commit
						611ced2fd7
					
				
							
								
								
									
										7
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										7
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -92,6 +92,13 @@ vim.api.nvim_create_autocmd('BufWritePost', {
 | 
			
		|||
  pattern = vim.fn.expand '$MYVIMRC',
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
vim.api.nvim_create_augroup("spellcheck", { clear = true })
 | 
			
		||||
vim.api.nvim_create_autocmd("FileType", {
 | 
			
		||||
    group = "spellcheck",
 | 
			
		||||
    pattern = { "gitcommit", "markdown", "mdx" },
 | 
			
		||||
    command = "setlocal spell",
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- [[ Setting options ]]
 | 
			
		||||
-- See `:help vim.o`
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -91,3 +91,5 @@ analysisOfVariance
 | 
			
		|||
sql
 | 
			
		||||
datasource
 | 
			
		||||
ClickHouse
 | 
			
		||||
Grafana
 | 
			
		||||
clickhouse
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue