aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/gopls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim_lsp/gopls.lua')
-rw-r--r--lua/nvim_lsp/gopls.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/lua/nvim_lsp/gopls.lua b/lua/nvim_lsp/gopls.lua
deleted file mode 100644
index 53638e5f..00000000
--- a/lua/nvim_lsp/gopls.lua
+++ /dev/null
@@ -1,23 +0,0 @@
-local configs = require 'nvim_lsp/configs'
-local util = require 'nvim_lsp/util'
-
-configs.gopls = {
- default_config = {
- cmd = {"gopls"};
- filetypes = {"go", "gomod"};
- root_dir = util.root_pattern("go.mod", ".git");
- };
- -- 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