[gnome-builder/wip/gtk4-port] plugins/gopls: rename go-langserv to gopls
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/gopls: rename go-langserv to gopls
- Date: Tue, 24 May 2022 21:39:27 +0000 (UTC)
commit 6d811995229bbda0a428ed0314340b8dae16b7d3
Author: Christian Hergert <chergert redhat com>
Date: Tue May 24 13:59:43 2022 -0700
plugins/gopls: rename go-langserv to gopls
Since this wraps the gopls language server, use that in the plugin name
so it is more obvious for people looking to see if it's supported.
meson_options.txt | 2 +-
src/plugins/{go-langserv => gopls}/README.md | 0
src/plugins/{go-langserv => gopls}/go-langserv.plugin | 0
src/plugins/{go-langserv => gopls}/go_langserver_plugin.py | 0
src/plugins/{go-langserv => gopls}/meson.build | 2 +-
src/plugins/meson.build | 4 ++--
6 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 34753f811..5c97576d2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -47,7 +47,7 @@ option('plugin_gdiagnose', type: 'boolean')
option('plugin_gettext', type: 'boolean')
option('plugin_git', type: 'boolean')
option('plugin_glade', type: 'boolean')
-option('plugin_go_langserv', type: 'boolean')
+option('plugin_gopls', type: 'boolean')
option('plugin_gradle', type: 'boolean')
option('plugin_grep', type: 'boolean')
option('plugin_gvls', type: 'boolean', value: false)
diff --git a/src/plugins/go-langserv/README.md b/src/plugins/gopls/README.md
similarity index 100%
rename from src/plugins/go-langserv/README.md
rename to src/plugins/gopls/README.md
diff --git a/src/plugins/go-langserv/go-langserv.plugin b/src/plugins/gopls/go-langserv.plugin
similarity index 100%
rename from src/plugins/go-langserv/go-langserv.plugin
rename to src/plugins/gopls/go-langserv.plugin
diff --git a/src/plugins/go-langserv/go_langserver_plugin.py b/src/plugins/gopls/go_langserver_plugin.py
similarity index 100%
rename from src/plugins/go-langserv/go_langserver_plugin.py
rename to src/plugins/gopls/go_langserver_plugin.py
diff --git a/src/plugins/go-langserv/meson.build b/src/plugins/gopls/meson.build
similarity index 87%
rename from src/plugins/go-langserv/meson.build
rename to src/plugins/gopls/meson.build
index 2f8530fe6..dcb84f969 100644
--- a/src/plugins/go-langserv/meson.build
+++ b/src/plugins/gopls/meson.build
@@ -1,4 +1,4 @@
-if get_option('plugin_go_langserv')
+if get_option('plugin_gopls')
install_data('go_langserver_plugin.py', install_dir: plugindir)
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index ad553bcd8..e425d0d43 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -77,7 +77,7 @@ subdir('gdiagnose')
subdir('gettext')
subdir('git')
#subdir('glade')
-subdir('go-langserv')
+subdir('gopls')
subdir('gradle')
subdir('greeter')
subdir('grep')
@@ -210,7 +210,7 @@ status += [
'blueprint ................ (Blueprint) : @0@'.format(get_option('plugin_blueprint')),
'clangd ............... (C, C++, Obj-C) : @0@ **'.format(get_option('plugin_clangd')),
'gnome-builder-clang .. (C, C++, Obj-C) : @0@'.format(get_option('plugin_clang')),
- 'gpls ............................ (Go) : @0@'.format(get_option('plugin_go_langserv')),
+ 'gopls ........................... (Go) : @0@'.format(get_option('plugin_gopls')),
'gvls .......................... (Vala) : @0@ **'.format(get_option('plugin_gvls')),
'intelephense ................... (PHP) : @0@'.format(get_option('plugin_intelephense')),
'jedi-language-server ........ (Python) : @0@'.format(get_option('plugin_jedi_language_server')),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]