From d752e8e9177b2985d824e1ef28a432e060f28b5a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 29 Feb 2024 17:12:58 +0100 Subject: add license header --- init.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 4f6947d..729e2f2 100644 --- a/init.lua +++ b/init.lua @@ -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 . +-- 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 = '' -- cgit v1.2.3