summaryrefslogtreecommitdiff
path: root/lua/nvim-paredit-scheme/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-paredit-scheme/init.lua')
-rw-r--r--lua/nvim-paredit-scheme/init.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/lua/nvim-paredit-scheme/init.lua b/lua/nvim-paredit-scheme/init.lua
new file mode 100644
index 0000000..ac19807
--- /dev/null
+++ b/lua/nvim-paredit-scheme/init.lua
@@ -0,0 +1,27 @@
+-- nvim-paredit extension for scheme
+-- Copyright (C) 2023 Ekaitz Zarraga
+--
+-- This program 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.
+--
+-- This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
+
+local extension = require("nvim-paredit-scheme.extension")
+
+local M = {
+ extension = extension
+}
+
+function M.setup(paredit)
+ paredit.extension.add_language_extension("scheme", extension)
+end
+
+return M