aboutsummaryrefslogtreecommitdiffstats
path: root/lua/common_lsp/gopls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/common_lsp/gopls.lua')
-rw-r--r--lua/common_lsp/gopls.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/lua/common_lsp/gopls.lua b/lua/common_lsp/gopls.lua
deleted file mode 100644
index e3061d16..00000000
--- a/lua/common_lsp/gopls.lua
+++ /dev/null
@@ -1,26 +0,0 @@
-local skeleton = require 'common_lsp/skeleton'
-local util = require 'common_lsp/util'
-local lsp = vim.lsp
-
-skeleton.gopls = {
- default_config = {
- cmd = {"gopls"};
- filetypes = {"go"};
- root_dir = util.root_pattern("go.mod", ".git");
- log_level = lsp.protocol.MessageType.Warning;
- settings = {};
- };
- -- on_new_config = function(new_config) end;
- -- on_attach = function(client, bufnr) end;
- docs = {
- description = [[
-https://github.com/golang/tools/tree/master/gopls
-
-Google's lsp server for golang.
-]];
- default_config = {
- root_dir = [[root_pattern("go.mod", ".git")]];
- };
- };
-}
--- vim:et ts=2 sw=2