diff options
| -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}} |
