From 6273b6d43aedc6b00b82e1081db14c39194da765 Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Thu, 13 Apr 2023 00:39:31 -0400 Subject: nvim: redo the whole thing reasons tm --- dot_config/nvim/lua/plugins/langs.lua | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/langs.lua (limited to 'dot_config/nvim/lua/plugins/langs.lua') diff --git a/dot_config/nvim/lua/plugins/langs.lua b/dot_config/nvim/lua/plugins/langs.lua new file mode 100644 index 0000000..e7e1499 --- /dev/null +++ b/dot_config/nvim/lua/plugins/langs.lua @@ -0,0 +1,41 @@ +-- language support +return { + -- treesitter + { + 'nvim-treesitter/nvim-treesitter', + version = false, + lazy = false, + build = ':TSUpdateSync', + -- event = { 'BufReadPost', 'BufNewFile' }, + config = function(_, opts) + require 'nvim-treesitter.configs'.setup(opts) + end, + dependencies = { + 'nvim-treesitter/nvim-treesitter-textobjects', + }, + opts = { + ensure_installed = 'all', + sync_intall = true, + highlight = { + enable = true, + }, + }, + }, + + -- non-treesitter languages + { + 'janet-lang/janet.vim', + ft = 'janet', + }, + + -- helpers for lisps + { + 'gpanders/nvim-parinfer', + ft = { + 'clojure', + 'fennel', + 'janet', + 'scm', + }, + }, +} -- cgit v1.2.3