diff --git a/coc-settings.json b/coc-settings.json index 82e08f8..ee5a264 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -13,6 +13,11 @@ "command": "bash-language-server", "args": ["start"], "filetypes": ["sh","bash"] + }, + "golang": { + "command": "gopls", + "rootPatterns": ["go.mod"], + "filetypes": ["go"] } } } diff --git a/init.vim b/init.vim index 2c94516..220791f 100644 --- a/init.vim +++ b/init.vim @@ -139,5 +139,5 @@ let g:licenses_authors_name = 'Nicolás Ortega Froysa ' let g:licenses_default_command = [ 'Affero' ] " FZF -nnoremap f :FZF -nnoremap F :tabnew:FZF +nnoremap f :GFiles +nnoremap F :tabnew:GFiles