From 53d2532b4b3b9ba8aaf1c53553e096addf362859 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Sun, 2 May 2021 13:03:31 +0200 Subject: [PATCH] try out vim-sexp --- files/.config/nvim/fnl/init.fnl | 14 ++++++++------ files/.config/nvim/init.vim | 1 + files/.config/nvim/plugins.lua | 5 ++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/files/.config/nvim/fnl/init.fnl b/files/.config/nvim/fnl/init.fnl index 05cb9e6..9859b9f 100644 --- a/files/.config/nvim/fnl/init.fnl +++ b/files/.config/nvim/fnl/init.fnl @@ -17,17 +17,17 @@ (local colors (utils.colors)) - (set vim.g.conjure#client#fennel#aniseed#aniseed_module_prefix "aniseed.") +(set vim.g.sexp_filetypes "clojure,scheme,lisp,timl,fennel") ; Treesitter ------------------------------------------------------- foldstart (nvim-treesitter-configs.setup - { :ensure_installed "all" - :highlight { :enable true - :disable ["fennel"]} - :indent { :enable true - :disable ["lua"]} + {:ensure_installed "all" + :highlight {:enable true + :disable ["fennel"]} + :indent {:enable true + :disable ["lua"]} :incremental_selection { :enable true @@ -109,4 +109,6 @@ ; foldend + + ; vim:foldmarker=foldstart,foldend diff --git a/files/.config/nvim/init.vim b/files/.config/nvim/init.vim index fae9748..2d24530 100644 --- a/files/.config/nvim/init.vim +++ b/files/.config/nvim/init.vim @@ -16,6 +16,7 @@ if &shell =~# 'fish$' endif let mapleader ="\" +let maplocalleader = "m" diff --git a/files/.config/nvim/plugins.lua b/files/.config/nvim/plugins.lua index 8c84055..5f6365a 100644 --- a/files/.config/nvim/plugins.lua +++ b/files/.config/nvim/plugins.lua @@ -17,6 +17,9 @@ require("packer").startup(function(use) use "tami5/compe-conjure" + use "guns/vim-sexp" + use "tpope/vim-sexp-mappings-for-regular-people" + use "pwntester/octo.nvim" use "Olical/conjure" @@ -98,7 +101,7 @@ require("packer").startup(function(use) use "honza/vim-snippets" use "tommcdo/vim-exchange" use "kien/rainbow_parentheses.vim" - use "bhurlow/vim-parinfer" + --use "bhurlow/vim-parinfer" use "ray-x/lsp_signature.nvim"