diff options
| -rw-r--r-- | bindings.lua | 9 | ||||
| -rw-r--r-- | init.lua | 9 | ||||
| -rw-r--r-- | lspc.lua | 10 | ||||
| -rw-r--r-- | parser.lua | 12 | ||||
| -rw-r--r-- | supported-servers.lua | 12 |
5 files changed, 25 insertions, 27 deletions
diff --git a/bindings.lua b/bindings.lua index c67a534..a71c970 100644 --- a/bindings.lua +++ b/bindings.lua @@ -1,18 +1,19 @@ -- Copyright (c) 2021 Florian Fischer. All rights reserved. - +-- -- 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') @@ -1,18 +1,19 @@ -- Copyright (c) 2021-2023 Florian Fischer. All rights reserved. - +-- -- 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('(.*/)') @@ -1,19 +1,19 @@ -- Copyright (c) 2021-2023 Florian Fischer. All rights reserved. - +-- -- 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 @@ -1,21 +1,19 @@ -- Copyright (c) 2021 Florian Fischer. All rights reserved. - +-- -- 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 8344515..62583b9 100644 --- a/supported-servers.lua +++ b/supported-servers.lua @@ -1,21 +1,19 @@ -- Copyright (c) 2022 Florian Fischer. All rights reserved. - +-- -- 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('(.*/)') |
