aboutsummaryrefslogtreecommitdiff
path: root/parser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'parser.lua')
-rw-r--r--parser.lua18
1 files changed, 17 insertions, 1 deletions
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