Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp: support gofumpt and unknown gopls settings #2994

Merged
merged 1 commit into from Sep 6, 2020

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Sep 1, 2020

Closes #2993

@bhcleek bhcleek added this to the vim-go 1.24 milestone Sep 2, 2020
@bhcleek bhcleek merged commit 948a1e1 into fatih:master Sep 6, 2020
@bhcleek bhcleek deleted the lsp/gofumpt branch September 6, 2020 17:38
bhcleek added a commit that referenced this pull request Sep 6, 2020
@@ -322,6 +324,14 @@ function! go#lsp#message#ConfigurationResult(items) abort
let l:config.local = l:local
endif

if l:gofumpt isnot v:null
let l:config.gofumpt = l:local
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a typo? I suppose it should be = l:gofumpt.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's a typo. PR coming up.

bhcleek added a commit that referenced this pull request Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow gofumports as goimports alternative
2 participants