Commit graph

22 commits

Author SHA1 Message Date
Sanchayan Maity 8a60e83ef5
nvim: plugins/treesitter: Drop playground
Initially added this thinking it might help with our own colorscheme
but we have never used this.
2023-02-28 00:05:45 +05:30
Sanchayan Maity 20b608ad08
nvim: treesitter: Enable fennel, racket and scheme 2022-12-28 19:51:09 +05:30
Sanchayan Maity 397cac1050 nvim: plugins/treesitter: Use treehopper instead of textobjects
The whole bunch of treesitter text objects were difficult to remember
and we ended up rarely ever using any of the defined mappings.

treehopper simplifies things with a single mapping and hints.
2022-11-24 14:21:41 +05:30
Sanchayan Maity 7c8841431a nvim: init/treesitter: Enable bundled parsers
Now that neovim bundles parsers and highlight queries for Lua, Vimscript
and C by default, enable the bundled ones.

We can drop the entries from languages enabled via nvim-treesitter.

See
https://github.com/neovim/neovim/issues/14090#issuecomment-1237820552
2022-09-18 12:57:19 +05:30
Sanchayan Maity 6be67782e6 nvim: treesitter: Add golang 2022-06-05 15:03:49 +05:30
Sanchayan Maity 795fd7f36a nvim: treesitter: Enable HTML 2022-02-17 15:08:04 +05:30
Sanchayan Maity 2c9b7bfeb1 Revert "nvim: treesitter: Remove verilog support"
This reverts commit c2fabd0259.
2022-01-27 19:06:59 +05:30
Sanchayan Maity c2fabd0259 nvim: treesitter: Remove verilog support
Conflicts with coq and crashes nvim sometimes.
2022-01-08 10:51:54 +05:30
Sanchayan Maity 5abf204ae6 nvim: treesitter: Enable markdown 2021-12-28 19:24:45 +05:30
Sanchayan Maity e488171b08 nvim: plugins: Add vim-matchup
We also enable the treesitter integration.
2021-12-06 10:28:30 +05:30
Sanchayan Maity eb406bd1da nvim: treesitter: Drop clojure and fennel
We added them briefly but never used these.
2021-10-14 14:41:39 +05:30
Sanchayan Maity ff93725694 nvim: treesitter: Update treesitter configuration 2021-10-02 17:19:34 +05:30
Sanchayan Maity fff7723126 nvim: treesitter: Enable Haskell 2021-06-28 16:43:06 +05:30
Sanchayan Maity 44a39eee24 nvim: treesitter: Enable playground
Helps to see what treesitter queries are being made. Would be helpful in
tuning the color scheme.
2021-06-23 12:28:44 +05:30
Sanchayan Maity 0649b639da nvim: treesitter: Force nvim-treesitter to use a specific compiler
Required for Haskell. See
https://github.com/tree-sitter/tree-sitter-haskell#building-with-nvim-treesitter
2021-06-19 11:26:13 +05:30
Sanchayan Maity 66f07fba89 nvim: plugins/treesitter: Enable treesitter text objects 2021-05-22 15:30:52 +05:30
Sanchayan Maity 04b2a511e1 nvim: treesitter: Add fish and nix
Drop the syntax highlighting plugins for fish and nix and switch to
treesitter. The ftdetect is taken from the respective plugins.

We might need to add the indent specific scripts for fish and nix
later since we are not enabling indent with treesitter.
2021-05-14 19:36:43 +05:30
Sanchayan Maity abd22a73db nvim: treesitter: Enable some more languages with treesitter 2021-02-25 12:32:05 +05:30
Sanchayan Maity 795fe5208b Revert "nvim: Enable treesitter refactor and text objects"
This reverts commit 41f1e85929.

Enabling these two, seems to somehow result in highlighting not working
anymore. So disable them.
2021-01-14 20:05:41 +05:30
Sanchayan Maity 4efbec8683 nvim: treesitter: Enable some more languages 2021-01-14 20:05:41 +05:30
Sanchayan Maity 41f1e85929 nvim: Enable treesitter refactor and text objects 2021-01-12 16:34:52 +05:30
Sanchayan Maity af410754a4 nvim: Add nvim-treesitter
Drop the syntax highlight plugins for the languages for which treesitter
is now enabled.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
2020-09-11 20:21:35 +05:30