aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-06-24 19:42:40 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-06-24 19:42:40 +0200
commit224a220fa94b306cacff33eaf4c841b52a41d12f (patch)
treeca49efdbefb55098f5bbc3ca9c0863784bbaae97
parent63b8d2ce0e0fd62833c4d795383411b77673ead6 (diff)
downloadvis-lspc-224a220fa94b306cacff33eaf4c841b52a41d12f.tar.gz
vis-lspc-224a220fa94b306cacff33eaf4c841b52a41d12f.zip
fix the license headers to reflect the used GPL license
-rw-r--r--bindings.lua15
-rw-r--r--init.lua15
-rw-r--r--lspc.lua16
-rw-r--r--parser.lua18
-rw-r--r--supported-servers.lua18
5 files changed, 77 insertions, 5 deletions
diff --git a/bindings.lua b/bindings.lua
index 1e975d3..c67a534 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -1,5 +1,18 @@
-- Copyright (c) 2021 Florian Fischer. All rights reserved.
--- Use of this source code is governed by a MIT license found in the LICENSE file.
+
+-- This file is part of vis-lspc.
+-- vis-lspc is free software: you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation, either version 3 of the License, or (at your option) any later
+-- version.
+
+-- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+-- You should have received a copy of the GNU General Public License along with
+-- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>.
+
-- vis-lspc default bindings
vis:map(vis.modes.NORMAL, '<F2>', function()
vis:command('lspc-start-server')
diff --git a/init.lua b/init.lua
index 9125940..8bfa39b 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,18 @@
-- Copyright (c) 2021-2023 Florian Fischer. All rights reserved.
--- Use of this source code is governed by a MIT license found in the LICENSE file.
+
+-- This file is part of vis-lspc.
+-- vis-lspc is free software: you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation, either version 3 of the License, or (at your option) any later
+-- version.
+
+-- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+-- You should have received a copy of the GNU General Public License along with
+-- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>.
+
-- We require vis compiled with the communicate patch
local source_str = debug.getinfo(1, 'S').source:sub(2)
local source_path = source_str:match('(.*/)')
diff --git a/lspc.lua b/lspc.lua
index f63ad23..e9e03da 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -1,5 +1,19 @@
-- Copyright (c) 2021-2023 Florian Fischer. All rights reserved.
--- Use of this source code is governed by a MIT license found in the LICENSE file.
+
+-- This file is part of vis-lspc.
+
+-- vis-lspc is free software: you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation, either version 3 of the License, or (at your option) any later
+-- version.
+
+-- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+-- You should have received a copy of the GNU General Public License along with
+-- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>.
+
-- State of our language server client
local lspc = {
-- mapping language server names to their state tables
diff --git a/parser.lua b/parser.lua
index 9dffb43..e79d9d9 100644
--- a/parser.lua
+++ b/parser.lua
@@ -1,5 +1,21 @@
-- Copyright (c) 2021 Florian Fischer. All rights reserved.
--- Use of this source code is governed by a MIT license found in the LICENSE file.
+
+-- This file is part of vis-lspc.
+
+-- vis-lspc is free software: you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation, either version 3 of the License, or (at your option) any later
+-- version.
+
+-- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+-- You should have received a copy of the GNU General Public License along with
+-- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>.
+
+-- vis-lspc default bindings
+
-- Parse the data send by a language server
-- Note the chunks received may not end with the end of a message.
-- In the worst case a data chunk contains two partial messages on at the beginning
diff --git a/supported-servers.lua b/supported-servers.lua
index c19ad42..8344515 100644
--- a/supported-servers.lua
+++ b/supported-servers.lua
@@ -1,5 +1,21 @@
-- Copyright (c) 2022 Florian Fischer. All rights reserved.
--- Use of this source code is governed by a MIT license found in the LICENSE file.
+
+-- This file is part of vis-lspc.
+
+-- vis-lspc is free software: you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation, either version 3 of the License, or (at your option) any later
+-- version.
+
+-- vis-lspc is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+-- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+-- You should have received a copy of the GNU General Public License along with
+-- vis-lspc found in the LICENSE file. If not, see <https://www.gnu.org/licenses/>.
+
+-- vis-lspc default bindings
+
-- List of supported and preconfigured language server implementations
local source_str = debug.getinfo(1, 'S').source:sub(2)
local source_path = source_str:match('(.*/)')