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: fix g:go_gopls_gofumpt to allow more liberal truthy values #3017

Merged
merged 2 commits into from
Sep 21, 2020

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Sep 20, 2020

No description provided.

@bhcleek bhcleek added this to the vim-go 1.25 milestone Sep 20, 2020
@bhcleek bhcleek force-pushed the lsp/gofumpt/liberal-truthy branch from fadf86f to 4879d4b Compare September 21, 2020 02:55
@bhcleek bhcleek changed the title lsp: fix gofumpt use to allow more liberal truthy values lsp: fix g:go_gopls_gofumpt to allow more liberal truthy values Sep 21, 2020
@bhcleek bhcleek merged commit b9bef82 into fatih:master Sep 21, 2020
@bhcleek bhcleek deleted the lsp/gofumpt/liberal-truthy branch September 21, 2020 03:12
bhcleek added a commit that referenced this pull request Sep 21, 2020
@@ -325,7 +325,11 @@ function! go#lsp#message#ConfigurationResult(items) abort
endif

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

@NicholasAsimov NicholasAsimov Sep 21, 2020

Choose a reason for hiding this comment

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

@bhcleek

Shouldn't this check l:gofumpt?

Getting this error at the moment when setting g:go_gopls_gofumpt: E716: Key not present in Dictionary: 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.

🤦 PR is to fix it is up now: #3022

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.

2 participants