]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/go/lsp.vim
Do not use vim-lsp-settings for simplicity
[dotfiles.git] / vim / .vim / ftplugin / go / lsp.vim
diff --git a/vim/.vim/ftplugin/go/lsp.vim b/vim/.vim/ftplugin/go/lsp.vim
new file mode 100644 (file)
index 0000000..92614c6
--- /dev/null
@@ -0,0 +1,5 @@
+au User lsp_setup call lsp#register_server({
+\    "name": "gopls",
+\    "cmd": ["gopls"],
+\    "whitelist": ["go"],
+\})