diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:12:58 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:12:58 +0100 |
| commit | d752e8e9177b2985d824e1ef28a432e060f28b5a (patch) | |
| tree | 250db339ace98262f159a4161b5149b9497b4603 | |
| parent | 3073f0ea0638341631788968dab23aec387f101a (diff) | |
| download | vis-snippets-d752e8e9177b2985d824e1ef28a432e060f28b5a.tar.gz vis-snippets-d752e8e9177b2985d824e1ef28a432e060f28b5a.zip | |
add license header
| -rw-r--r-- | init.lua | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,18 @@ +-- Copyright (c) 2023-2024 Florian Fischer. All rights reserved. +-- +-- vis-snippets 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-snippets 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-snippets found in the LICENSE file. +-- If not, see <https://www.gnu.org/licenses/>. +-- local M = {snippets = {}} M.menu_cmd = 'vis-menu' @@ -28,6 +43,7 @@ local function available_snippets() return _snippets end +-- select implementation copied from vis-lspc. -- concatenate all numeric values in choices and pass it on stdin to M.menu_cmd local function lspc_select(choices) local menu_input = '' |
