Skip to content

Commit

Permalink
Get rid of allowImplicitNetworkAccess because it’s deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c committed Jun 28, 2024
1 parent 5563200 commit 3e1e3d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tasks/emacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,4 @@ def set_buildtags(
use_tags = get_build_tags(build_include, build_exclude)

with open(".dir-locals.el", "w") as f:
f.write(f'((go-mode . ((lsp-go-build-flags . ["-tags", "{",".join(sorted(use_tags))}"])\n')
f.write(
' (eval . (lsp-register-custom-settings \'(("gopls.allowImplicitNetworkAccess" t t)))))))\n'
)
f.write(f'((go-mode . ((lsp-go-build-flags . ["-tags" "{",".join(sorted(use_tags))}"]))))\n')

0 comments on commit 3e1e3d3

Please sign in to comment.