diff options
| author | 2024-11-18 20:02:30 +0100 | |
|---|---|---|
| committer | 2024-11-18 20:03:16 +0100 | |
| commit | 21dc717f110aac4d47e99b2974e7c8a2dec0e432 (patch) | |
| tree | 5ce5c55426f2c1f47268f7ce71f1c14e722e0d2c | |
| parent | nvim: migrate conjure to the new main branch (diff) | |
nvim: add paredit
My wife wanted it and I guess some parts of this are gonna be useful for
me :)
Mostly the navigation shortcuts though :D
| -rw-r--r-- | dot_config/nvim/fnl/plugins/langs.fnl | 16 | ||||
| -rw-r--r-- | dot_config/nvim/lua/plugins/langs.lua | 3 |
2 files changed, 13 insertions, 6 deletions
diff --git a/dot_config/nvim/fnl/plugins/langs.fnl b/dot_config/nvim/fnl/plugins/langs.fnl index 21478a8..e785d98 100644 --- a/dot_config/nvim/fnl/plugins/langs.fnl +++ b/dot_config/nvim/fnl/plugins/langs.fnl @@ -1,4 +1,10 @@ (import-macros {:mixed-table ·} :toast.macros) + +(local lisps [:clojure + :fennel + :janet + :scm]) + ; language support [(· :nvim-treesitter/nvim-treesitter & :version false @@ -17,9 +23,9 @@ :version false :dependencies [:godlygeek/tabular] :ft :markdown) - ; helper for lisps + ; helpers for lisps (· :gpanders/nvim-parinfer & - :ft [:clojure - :fennel - :janet - :scm])] + :ft lisps) + (· :julienvincent/nvim-paredit & + :ft lisps + :config {:indent {:enabled true}})] diff --git a/dot_config/nvim/lua/plugins/langs.lua b/dot_config/nvim/lua/plugins/langs.lua index 0e49dc6..84dea21 100644 --- a/dot_config/nvim/lua/plugins/langs.lua +++ b/dot_config/nvim/lua/plugins/langs.lua @@ -1,2 +1,3 @@ -- [nfnl] Compiled from fnl/plugins/langs.fnl by https://github.com/Olical/nfnl, do not edit. -return {{"nvim-treesitter/nvim-treesitter", build = ":TSUpdate", dependnecies = {"nvim-treesitter/nvim-treesitter-textobjects"}, main = "nvim-treesitter.configs", opts = {ensure_installed = "all", ignore_install = {"norg"}, sync_install = "true", highlight = {enable = true, disable = {"markdown"}, additional_vim_regex_highlighting = {"markdown"}}}, version = false}, {"janet-lang/janet.vim", ft = "janet"}, {"preservim/vim-markdown", dependencies = {"godlygeek/tabular"}, ft = "markdown", version = false}, {"gpanders/nvim-parinfer", ft = {"clojure", "fennel", "janet", "scm"}}} +local lisps = {"clojure", "fennel", "janet", "scm"} +return {{"nvim-treesitter/nvim-treesitter", build = ":TSUpdate", dependnecies = {"nvim-treesitter/nvim-treesitter-textobjects"}, main = "nvim-treesitter.configs", opts = {ensure_installed = "all", ignore_install = {"norg"}, sync_install = "true", highlight = {enable = true, disable = {"markdown"}, additional_vim_regex_highlighting = {"markdown"}}}, version = false}, {"janet-lang/janet.vim", ft = "janet"}, {"preservim/vim-markdown", dependencies = {"godlygeek/tabular"}, ft = "markdown", version = false}, {"gpanders/nvim-parinfer", ft = lisps}, {"julienvincent/nvim-paredit", config = {indent = {enabled = true}}, ft = lisps}} |
