Added the config nvim
This commit is contained in:
		@@ -342,7 +342,7 @@ autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=fals
 | 
				
			|||||||
let g:neoformat_try_formatprg = 1
 | 
					let g:neoformat_try_formatprg = 1
 | 
				
			||||||
let g:neoformat_basic_format_trim = 1
 | 
					let g:neoformat_basic_format_trim = 1
 | 
				
			||||||
let g:neoformat_only_msg_on_error = 1
 | 
					let g:neoformat_only_msg_on_error = 1
 | 
				
			||||||
autocmd BufWritePre * silent! undojoin | Neoformat
 | 
					" autocmd BufWritePre * silent! undojoin | Neoformat
 | 
				
			||||||
let g:neoformat_python_black = {
 | 
					let g:neoformat_python_black = {
 | 
				
			||||||
    \ 'exe': 'black',
 | 
					    \ 'exe': 'black',
 | 
				
			||||||
    \ 'stdin': 1,
 | 
					    \ 'stdin': 1,
 | 
				
			||||||
@@ -611,7 +611,7 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
 | 
				
			|||||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
 | 
					autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
 | 
				
			||||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
 | 
					autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
 | 
				
			||||||
au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
 | 
					au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
 | 
				
			||||||
autocmd BufWritePre * silent! undojoin | Neoformat prettier
 | 
					" autocmd BufWritePre * silent! undojoin | Neoformat prettier
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Go
 | 
					" Go
 | 
				
			||||||
autocmd BufRead *.go set noexpandtab
 | 
					autocmd BufRead *.go set noexpandtab
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user