mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	runtime(javacc): include javacc ftplugin file
closes: #15167 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							2525608d73
						
					
				
				
					commit
					a264bb931e
				
			
							
								
								
									
										1
									
								
								.github/MAINTAINERS
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/MAINTAINERS
									
									
									
									
										vendored
									
									
								
							| @@ -173,6 +173,7 @@ runtime/ftplugin/indent.vim		@dkearns | ||||
| runtime/ftplugin/ishd.vim		@dkearns | ||||
| runtime/ftplugin/j.vim			@glts | ||||
| runtime/ftplugin/java.vim		@zzzyxwvut | ||||
| runtime/ftplugin/javacc.vim		@ribru17 | ||||
| runtime/ftplugin/javascript.vim		@dkearns | ||||
| runtime/ftplugin/javascriptreact.vim	@dkearns | ||||
| runtime/ftplugin/jj.vim			@gpanders | ||||
|   | ||||
							
								
								
									
										20
									
								
								runtime/ftplugin/javacc.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								runtime/ftplugin/javacc.vim
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| " Vim filetype plugin | ||||
| " Language:	JavaCC | ||||
| " Maintainer:	Riley Bruins <ribru17@gmail.com> | ||||
| " Last Change:	2024 Jul 06 | ||||
|  | ||||
| if exists('b:did_ftplugin') | ||||
|   finish | ||||
| endif | ||||
| let b:did_ftplugin = 1 | ||||
|  | ||||
| " Set 'formatoptions' to break comment lines but not other lines, | ||||
| " and insert the comment leader when hitting <CR> or using "o". | ||||
| setlocal formatoptions-=t formatoptions+=croql | ||||
|  | ||||
| " Set 'comments' to format dashed lists in comments. Behaves just like C. | ||||
| setlocal comments& comments^=sO:*\ -,mO:*\ \ ,exO:*/ | ||||
|  | ||||
| setlocal commentstring=//\ %s | ||||
|  | ||||
| let b:undo_ftplugin = 'setl fo< com< cms<' | ||||
		Reference in New Issue
	
	Block a user