mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	Allow highlighting of strings within comments to be disabled by setting g:vimsyn_comment_strings to false. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
		
			
				
	
	
		
			23 lines
		
	
	
		
			288 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			288 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| vim9script
 | |
| 
 | |
| # Vim comment strings
 | |
| # VIM_TEST_SETUP let g:vimsyn_comment_strings = v:false
 | |
| 
 | |
| # pre "string" post
 | |
| 
 | |
| function Foo()
 | |
|   " pre "string" post
 | |
| endfunction
 | |
| 
 | |
| def Bar()
 | |
|   # pre "string" post
 | |
| enddef
 | |
| 
 | |
| command Foo {
 | |
|   # pre "string" post
 | |
| }
 | |
| 
 | |
| autocmd BufNewFile * {
 | |
|   # pre "string" post
 | |
| }
 |