You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			ReStructuredText
		
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			ReStructuredText
		
	
Integration with text editors
 | 
						|
=============================
 | 
						|
 | 
						|
Most text editors support syntax checking and highlighting, to visually report
 | 
						|
syntax errors and warnings to the user. yamllint can be used to syntax-check
 | 
						|
YAML source, but a bit of configuration is required depending on your favorite
 | 
						|
text editor.
 | 
						|
 | 
						|
Vim
 | 
						|
---
 | 
						|
 | 
						|
Assuming that the `syntastic <https://github.com/scrooloose/syntastic>`_ plugin
 | 
						|
is installed, add to your ``.vimrc``:
 | 
						|
 | 
						|
::
 | 
						|
 | 
						|
 let g:syntastic_yaml_checkers = ['yamllint']
 | 
						|
 | 
						|
Neovim
 | 
						|
------
 | 
						|
 | 
						|
Assuming that the `neomake <https://github.com/benekastah/neomake>`_ plugin is
 | 
						|
installed, add to your ``.config/nvim/init.vim``:
 | 
						|
 | 
						|
::
 | 
						|
 | 
						|
 if executable('yamllint')
 | 
						|
   let g:neomake_yaml_yamllint_maker = {
 | 
						|
     \ 'args': ['-f', 'parsable'],
 | 
						|
     \ 'errorformat': '%E%f:%l:%c: [error] %m,%W%f:%l:%c: [warning] %m' }
 | 
						|
   let g:neomake_yaml_enabled_makers = ['yamllint']
 | 
						|
 endif
 | 
						|
 | 
						|
Other text editors
 | 
						|
------------------
 | 
						|
 | 
						|
.. rubric:: Help wanted!
 | 
						|
 | 
						|
Your favorite text editor is not listed here? Help us improve by adding a
 | 
						|
section (by opening a pull-request or issue on GitHub).
 |