Added vim-go into a neovim
This commit is contained in:
		@@ -114,6 +114,9 @@ call plug#begin('~/.config/nvim/plugged')
 | 
				
			|||||||
    " Terraform
 | 
					    " Terraform
 | 
				
			||||||
    Plug 'hashivim/vim-terraform'
 | 
					    Plug 'hashivim/vim-terraform'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    " GoLang
 | 
				
			||||||
 | 
					    Plug 'fatih/vim-go'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    " Multiple cursors
 | 
					    " Multiple cursors
 | 
				
			||||||
    Plug 'terryma/vim-multiple-cursors'
 | 
					    Plug 'terryma/vim-multiple-cursors'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -626,6 +629,9 @@ au BufNewFile,BufRead,BufWritePre *.ebuild let g:shfmt_extra_args = '-ci -sr -s'
 | 
				
			|||||||
autocmd BufWritePre *.tf lua vim.lsp.buf.formatting_sync()
 | 
					autocmd BufWritePre *.tf lua vim.lsp.buf.formatting_sync()
 | 
				
			||||||
autocmd BufWritePre *.tfvars lua vim.lsp.buf.formatting_sync()
 | 
					autocmd BufWritePre *.tfvars lua vim.lsp.buf.formatting_sync()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" GoLang
 | 
				
			||||||
 | 
					let g:go#fmt#autosave  = v:true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Automatically deletes all trailing whitespace and newlines at end of file on save.
 | 
					" Automatically deletes all trailing whitespace and newlines at end of file on save.
 | 
				
			||||||
autocmd BufWritePre * %s/\s\+$//e
 | 
					autocmd BufWritePre * %s/\s\+$//e
 | 
				
			||||||
autocmd BufWritepre * %s/\n\+\%$//e
 | 
					autocmd BufWritepre * %s/\n\+\%$//e
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user