diff options
| author | 2023-04-13 00:39:31 -0400 | |
|---|---|---|
| committer | 2023-04-13 00:39:31 -0400 | |
| commit | 6273b6d43aedc6b00b82e1081db14c39194da765 (patch) | |
| tree | c6b1b1e6f9391696001375cb93ecd34449eefe0c /dot_config/nvim/lua/plugins/langs.lua | |
| parent | nvim: add rudimentary treesitter folding support (diff) | |
nvim: redo the whole thing
reasons tm
Diffstat (limited to 'dot_config/nvim/lua/plugins/langs.lua')
| -rw-r--r-- | dot_config/nvim/lua/plugins/langs.lua | 41 |
1 files changed, 41 insertions, 0 deletions
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', + }, + }, +} |
