]> Sergey Matveev's repositories - dotfiles.git/commitdiff
gomod is also LSPable
authorSergey Matveev <stargrave@stargrave.org>
Thu, 6 Apr 2023 09:44:47 +0000 (12:44 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 6 Apr 2023 09:45:10 +0000 (12:45 +0300)
vim/.vim/plugin/lsp.vim

index ad29aba42b37c9ccaec220714c69eb18578ebbff..c0cb4462fe4b924ec7bed7a51ae88f43d463fcb2 100644 (file)
@@ -12,7 +12,7 @@ for d in [
         args: ["--log=error"],
     },
     {
-        filetype: ["go"],
+        filetype: ["go", "gomod"],
         path: "gopls",
         syncInit: true,
     },